DirectUI hwnd 1.1
Posted: Wed Aug 10, 2005 6:49 pm
ok, thanks to Num3, with a little help on the "gradient" look, i have updated the code to include:
#DUI_classic look. grey gradient, square DUI hwnds
#dui_xpstyle look. Blue solid with rounded top corners
***you are able to switch displays at ANY time using changeDUIdisplay()****
so, the WHOLE DUI pane and its child DUIhwnds have either one or the other look, so no mixing and matching in panes themselves. MS doesnt allow this in win XP itself, so ive decided to stick with what is easier. either you have the classic look for a pane, or the XP look.
as for allowing individual color in each subwindow, i tried it and the time it to process each #wm_colorstatic message, get the #gwl_userdata for EACH textgadget, and draw individually really bogged down the code.
so, the links are the only thing you can choose the color youd like for.
consider this the final release for this gadget, unless someone posts some bugs found. ill fix bugs but i dont plan on adding more functionality for a bit. ive got other gadgets i want to get done.
this version is very stable as ive been able to test, so use it however you like. you are free to modify the source and use it or add to it, so long as you give me some credit somewhere.
http://www.penguinbyte.com/apps/pbwebst ... uiHwnd.zip
#DUI_classic look. grey gradient, square DUI hwnds
#dui_xpstyle look. Blue solid with rounded top corners
***you are able to switch displays at ANY time using changeDUIdisplay()****
so, the WHOLE DUI pane and its child DUIhwnds have either one or the other look, so no mixing and matching in panes themselves. MS doesnt allow this in win XP itself, so ive decided to stick with what is easier. either you have the classic look for a pane, or the XP look.
as for allowing individual color in each subwindow, i tried it and the time it to process each #wm_colorstatic message, get the #gwl_userdata for EACH textgadget, and draw individually really bogged down the code.
so, the links are the only thing you can choose the color youd like for.
consider this the final release for this gadget, unless someone posts some bugs found. ill fix bugs but i dont plan on adding more functionality for a bit. ive got other gadgets i want to get done.
this version is very stable as ive been able to test, so use it however you like. you are free to modify the source and use it or add to it, so long as you give me some credit somewhere.
http://www.penguinbyte.com/apps/pbwebst ... uiHwnd.zip