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 » CExtCheckComboBox drop list check-boxes Collapse All
Subject Author Date
Offer Har Dec 29, 2010 - 2:33 PM

Hi,
We are using CExtCheckComboBox, and the check-boxes in the drop-list are not skinned, which looks very off.
Is there a way to match them to the skin? They look like they came from the 90’s...
Thanks,
Ron.

Technical Support Jan 31, 2011 - 11:19 AM

Please find the following line of code in the CExtCheckComboBox::_OnCbLbPreWndProc() method:

    case WM_LBUTTONDOWN:

And replace it with two following lines:
    case WM_LBUTTONDOWN:
    case WM_LBUTTONDBLCLK:

Now quick mouse clicks will work OK.

Technical Support Jan 30, 2011 - 11:46 AM

Yes, its possible to add hovered check box effect. Here is the source code update:

http://www.prof-uis.com/download/forums/tmp/UpdatedCheckComboForRon.zip

We have not encountered the one pixel draw problem you are reporting. Here is the test project we used for testing:

http://www.prof-uis.com/download/forums/TestCheckComboBox.zip

Technical Support Dec 31, 2010 - 9:19 AM

Fixed. Thank you for this issue report. Here is the source code update: http://www.prof-uis.com/download/forums/tmp/UpdatedComboCheckListForRon.zip

Offer Har Jan 26, 2011 - 9:01 AM

Dear Support,


There is another problem with the new implementation - There is a need to click twice for the status of a check-box to change now. Please fix.


Thanks,


Ron.

Technical Support Jan 30, 2011 - 11:43 AM

We failed to reproduce this. Here is the test project we used to testing:

http://www.prof-uis.com/download/forums/TestCheckComboBox.zip

Offer Har Jan 31, 2011 - 8:40 AM

Dear Support.


I compiled your test application and the same bug happens. Iam working with 2.90 on windows XP SP3.


All you need to do is this:


1. Run the application


2. Press on the arrow to drop the list.


3. Press on the Check-box next to ’B’ (for example...) many times, you will see that the status of the check-box does not change with any click. It seems to be depending on how fast you click on the mouse. If you do it very slow it does not happen, but even in a speed slower then double-click speed it does happen.

Offer Har Jan 31, 2011 - 8:42 AM

Another method of reproducing the bug:


1. Run the application


2. Press on the arrow to drop the list.


3. Press on the check-box of ’A’


4. quickly press on the check-box of ’B’


You will see that ’B’ is not checked.

Offer Har Jan 26, 2011 - 8:44 AM

Thanks for the updated. Two issues:


1. Is it possible to add hover effect to the check-box?


2. The last check-box touches the black frame of the drop-list - I think you should add one more pixel at the height of the box so it won’t touch it.