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 » CExtWA gripper Collapse All
Subject Author Date
Paul Cowan Jun 29, 2007 - 8:39 PM

I’m using CExtWA for resizable dialogs, but it doesn’t draw the gripper. I’ve tried using CExtResizableDialog, which draws the gripper, but I don’t want the theme coloring. So, how do I get CExtWA to draw a gripper, or CExtResizableDialog to not theme?

Technical Support Jun 30, 2007 - 7:47 AM

You should draw the gripper manually over the default dialog surface and handle the WM_NCHITTEST message. The gripper area should be hit tested as HTBOTTOMRIGHT.

t is also possible to code your dialog inside a standalone DLL module where Prof-UIS is used as a static library and the is CExtPaintManagerNativeXP paint manager is installed. This will make your dialog having standard Windows theme regardless of any other conditions.