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
DirectUI hwnd 1.1
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
DirectUI hwnd 1.1
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
Hi!
I really enjoy this lib and it actually taught me some things in pb.
Maybe my post should be deleted but, i was searching for one thing and found this, it's relationated with this lib. It has source-code for it. Just see with your own eyes.
I just thought that some people would like to know about this, if they already don't know it.
http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp
I really enjoy this lib and it actually taught me some things in pb.
Maybe my post should be deleted but, i was searching for one thing and found this, it's relationated with this lib. It has source-code for it. Just see with your own eyes.
I just thought that some people would like to know about this, if they already don't know it.

http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
OK. Version 1.2, and YES it support ICONS or 16x16 images.
NOTE: you --the coder, MUST resize them image ***yourself*** becore adding the DUI link, otherwise the static control housing the image will automatically resize to the image's original size. i did this so that the command can accept image HANDLES, and not numbers. that way, you can use images manipulated with API functions or bitblt_() commands.
if you are gonna use jpegs, you yourself have to use the jpeg decoder. again, size was a concern for this LIB. test it out, and report any bugs. but this one should work really well, and now you can use icons or whatever you want. happy writing.
http://www.penguinbyte.com/apps/pbwebst ... nd_1.2.zip
NOTE: you --the coder, MUST resize them image ***yourself*** becore adding the DUI link, otherwise the static control housing the image will automatically resize to the image's original size. i did this so that the command can accept image HANDLES, and not numbers. that way, you can use images manipulated with API functions or bitblt_() commands.
if you are gonna use jpegs, you yourself have to use the jpeg decoder. again, size was a concern for this LIB. test it out, and report any bugs. but this one should work really well, and now you can use icons or whatever you want. happy writing.
http://www.penguinbyte.com/apps/pbwebst ... nd_1.2.zip
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw