Professional UI Solutions
Site Map   /  Register


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 » Hover effect on CExtCheckBox Collapse All
Subject Author Date
Celal Sen Jul 13, 2011 - 11:11 AM

When using the themes in between Office2000 and NativeXP/Vista/7, no hover effect is shown while the mouse is over CExtCheckBox and CExtRadioButton controls on my dialog and view classes. There is no problem with CExtButton controls and no problem with other themes. I directly used  CExtCheckBox control, not a CExtCheckBox driven control, in order to avoid possible paint, erase etc. messages’ intervention. But no luck. What may cause this specific problem? Thanks.

Celal Sen Jul 18, 2011 - 5:06 AM

Thank you.

Celal Sen Jul 15, 2011 - 5:37 AM

I did not mean the skin shapes. I meant the simple hover effect. Below are two images, one from my project and the other one from Prof-UIS Controls. Both have the Office 2003 theme. Both controls are CExtCheckBox classes. In my project when the mouse is over a checkbox, nothing happens. But in your sample project, you can see the simple hover effect.

Technical Support Jul 15, 2011 - 12:54 PM

You forgot to create a manifest resource. You can find the following line in the .rc2 file of any Prof-UIS sample application:

IDR_MANIFEST 24 DISCARDABLE "res\\manifest_x86.xml"

Where IDR_MANIFEST is 1. 24 stands for RT_MANIFEST.

Technical Support Jul 15, 2011 - 3:05 AM

Only new themes provide skin shapes for hovered check box shapes. Older themes are more flat and do not require hover effect over check boxes.