Page 1 of 1

DirectUI hwnd 1.1

Posted: Wed Aug 10, 2005 6:49 pm
by localmotion34
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

Posted: Wed Aug 10, 2005 9:26 pm
by Henrik
He.he Great :D
I will be probably using this lib alot, the size is okay.
Don't worry about support for other gadgets - " for now "- that is... :twisted:

It appears to be working smooth and nicely, i.e. no bugs'n stuff yet. 8)

Best regrads
Henrik.

Posted: Thu Aug 11, 2005 4:40 pm
by xgp
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. :wink:

http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp

Posted: Thu Aug 11, 2005 4:55 pm
by Pantcho!!
:) Thanks localmotion but i think that if you go, go all the way at least an icon display would be great.

but again great job! thanks.

Posted: Thu Aug 11, 2005 8:55 pm
by localmotion34
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

Posted: Sat Aug 13, 2005 11:45 am
by Pantcho!!
:shock: Sweeeeeeeeet, thanks! be sure i will check it out!

if i will find any bugs (hopefully not) i will post.

thanks again.