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 » CExtGroupBox Collapse All
Subject Author Date
Nigel Channon Apr 8, 2008 - 2:39 AM

What message CExtGroupBox use for notify parent about mouse click or double-click?

Technical Support Apr 10, 2008 - 7:19 AM

Why do you need to handle mouse clicks over a group box? Actually the group box is a special type of controls which is transparent for messages. Their window procedure returns HTTRANSPARENT when receives a WM_NCHITTEST message so any other messages are not processed by the group box. You can try to create your own CExtGroupBox-derived class and in the overridden WindowProc method manually handle the WM_NCHITTEST and WM_GETDLGCODE messages in order to allow message handling.