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 General Discussion » Regarding check box Collapse All
Subject Author Date
Trupti Kasvala Feb 6, 2009 - 6:32 AM


Hello sir

I am using Prof-UIS 2.84 version.

I have following problems in my dialog application.

1.If I dynamically create check box button then it doesn’t check /Uncheck box on clicking button

 

my syntax for it is

CExtCheckBox* checkbox;

Checkbox = new CExtCheckBox();

Checkbox->Create(“Check Box”, WS_CHILD|WS_VISIBLE|BS_CHECKBOX,CRect(,,,,),this, 1234);

2.To display menu if I put custom control in dialog application then I set all the parameters you have provided in help.Then the application returns without displaying dialog.

3.I am trying to draw a bitmap in dialog backgroung.For that I have overriden WinProc() method & kept code in WM_PAINT message.Now Problem is that  Initially If bitmap is not provided to draw then dialog background is transparent.

 

So what to do in this case?

Waiting for your early reply

 

Trupti

Technical Support Feb 6, 2009 - 2:21 PM

The problem is not with dynamic creation of the check box. You can see how the most of Prof-UIS controls are created dynamically in the FormEditor sample application where you can drop controls onto a dialog form and dynamic instances of these controls are created. Can you create a simple dialog based test project which has approximately the same dialog C++ class and reproduces the problems described in your message?