hellstorm77 2 Posted January 3, 2016 I was wondering if some could help me with an error im getting with a dialog dialog.hpp, line 13: /gaf_dialog/controls.gaf_Frame: Undefined base class 'RscFrame' this is the test mission http://www.mediafire.com/download/y32rz5s50c5agf1/test_di.Altis.pbo Share this post Link to post Share on other sites
donelsarjo 60 Posted January 4, 2016 Take a look at the static frame and just include the RscFrame in your dialog. https://community.bistudio.com/wiki/DialogControls-Text Share this post Link to post Share on other sites
hellstorm77 2 Posted January 4, 2016 I already have RscFrame in my dialog Share this post Link to post Share on other sites
Ranwer135 308 Posted January 5, 2016 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