Anyoune knows differences with custom controls in NT and W98???
-
Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin
-
Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin
here is a Shot in the Dark. hope it may be help. Don't use the Default name for the dialogs controls i.e When the Control's ID is IDC_STATIC I used to have weird problems of th dialog not showing in . or the control it self not being used win98 fine when using nt. (I guess because the value for, IDC_STATIC is = -1 in win95 , which can't be used Try changing the ID of the control to somthing Diffrent. like IDC_MYCONTROL. (geee, that was imaginitive of me :) ) Cheers Alfadhly
-
here is a Shot in the Dark. hope it may be help. Don't use the Default name for the dialogs controls i.e When the Control's ID is IDC_STATIC I used to have weird problems of th dialog not showing in . or the control it self not being used win98 fine when using nt. (I guess because the value for, IDC_STATIC is = -1 in win95 , which can't be used Try changing the ID of the control to somthing Diffrent. like IDC_MYCONTROL. (geee, that was imaginitive of me :) ) Cheers Alfadhly
Thanks, Alfadhly, but that's not the point, all the controls have other IDs. In the meantime I got another hint: The dialogs don't load when I put the ressources into an EXTERNAL DLL (as it is the case in this project)! You can do this with a minimal test app and you will get the same problems! Is there a way to tell the application, that it has to run with such an external DLL AND custom controls? Did I miss something important to do? Every other dialog works just fine, only the dialogs with custom controls in it refuse to load... Martin