ObjReader Community
Tips & Tricks => Take the control of your window => Topic started by: Patrice Terrier on February 09, 2020, 05:05:42 pm
-
COMPLETE AERO GLASS EMULATION for XP
The color picker has been totaly reworked and several little glitches have been fixed.
There is a new "static" label control and many new functions have been added including the DWM encapsulation for VISTA (however the VISTA version is still a work in progress)
Here is a new screen shot showing you the use of variable opacity and bluring mode altogether. Note that the color picker itself is opaque (something impossible to do with a layered window, where all the controls have the same level of translucency)
(http://www.zapsolution.com/pictures/sdk/zskin12.jpg)
The color picker uses its own skinned drop down button to show hide the combo listbox, and to perform this I use a personnal tip:
'// Emulate left mouse button click
SUB zPutFocusOn(BYVAL nObjectHandle AS LONG)
CALL PostMessage (nObjectHandle, 513 , 0, 0) '// WM_LBUTTONDOWN
CALL PostMessage (nObjectHandle, 514 , 0, 0) '// WM_LBUTTONUP
END SUB
-
.