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 » CExtCheckBox problem Collapse All
Subject Author Date
Massimo Germi May 26, 2006 - 4:58 AM

Hi,
I have created a CExtControlBar and a CExtResizableDialog derived class inside.
In CExtResizableDialog I have created a mamber variable derived from CExtCheckBox.
CExtControlBar derived class i always in autohide mode.
Programmatically, in MainFrame class, I wish to check or uncheck CExtCheckBox variable declared in CExtResizableDialog.
When I call SetCheck(...) the variable is really checked or unchecked but it does not display its state, is always unchecked.

Do you have any suggestions?

tx again

Technical Support May 26, 2006 - 9:10 AM

We failed to reproduce this bug. Here is a test project we used for testing. Please compile it and let us know whether the bug persists (click on the toolbar button with a red circle). Please also tell us which version of the library you are using.

Massimo Germi May 26, 2006 - 3:23 PM

OK,
it has been a my error.
I have stored in a SQL table the state of the cjeckbox, it return -1 if true and 0 if false, simple I set the state of checkbox with SetCheck( variable returned from SQL query (-1 or 0)) and not with flag SetCheck(BST_CHECKED or BST_UNCHECKED).

tx for the interest