Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Control variable disabled Collapse All
Subject Author Date
Dusan Gibarac Apr 15, 2007 - 8:56 AM

we can not create control variable using Visual Studio 2005 wizard - check field is disabled. Any helps?

Technical Support Apr 15, 2007 - 11:15 AM

The problem is caused by the Intellisense of Visual Studio 2005. If your class is derived from a simple C++ class like MFC’s CDialog which is not based on any template decorator, anything works OK. If your class is derived from the CExtResizableDialog class, then Visual Studio wizards stop working because CExtResizableDialog is based on several template classes as you can see in its declaration in Prof-UIS code. The solution is very simple. Your dialog is declared as follows:

class CYourDialog : public CExtResizableDialog
Please change only this line temporarily to the following one
class CYourDialog : public CDialog
You don’t need to replace the CExtResizableDialog type name to CDialog anywhere else.

Then please use any Visual Studio wizards for modifying CYourDialog class and finally roll back tp what was declared initially.