Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
hellstorm77

dialog trouble

Recommended Posts

I looked at your mission,

 

 

Use this in your description.ext:

#include "defines.hpp"
#include "dialog.hpp"

Instead of this:

#include "dialog.hpp"
#include "defines.hpp"

The reason behind all this is to do with code structure. Because you have included dialog.hpp first, then the controls that inherit the ones in defines.hpp (even your combo box) would come up with 'Undefined'. But again, instead of letting you know your combo box is 'undefined' as well, it gives an error on the first occurrence and stops the code.

 

 

 

BTW: If you do not feel satisfied with the RscFrame class in your defines.hpp, you can always replace it with this: :)

class RscFrame
{
    type = 0;
    idc = -1;
    style = 64;
    shadow = 2;
    colorBackground[] = {0,0,0,0};
    colorText[] = {1,1,1,1};
    font = "PuristaMedium";
    sizeEx = 0.02;
    text = "";
};

Share this post


Link to post
Share on other sites
Sign in to follow this  

×