Page 3 of 3

Posted: Sun Jul 25, 2004 10:55 pm
by Shopro
Got it!

Thanks alot Sparkie

-Shopro

Posted: Mon Jul 26, 2004 1:21 am
by Sparkie
You're very welcome Shopro. Good luck with your project. :)

Posted: Wed Sep 14, 2005 2:07 am
by lexvictory
localmotion34 wrote:its called a REBAR control, and it is possible to create one using the API, you have to use

R=createwindowex_(#WS_EX_TOOLWINDOW,"REBARCLASSNAME", ......)

although ive never been able to get a rebar to actually be created in PB window. then you have to create a rebar band or gadget, and then

gadget=comboboxgadget(.....)
sendmessage_(R, #RB_INSERTBAND, wparam, @gadget)
i think it should be:

Code: Select all

R=createwindowex_(#WS_EX_TOOLWINDOW,"REBARCLASSNAME32", ......)
thats how i got it to work creating a rebar

Posted: Wed Sep 14, 2005 3:16 am
by eddy
Nice piece of code :D
I really need this kind of gadget. :D

@localmotion34
actually he or someone should make a library out of it so that everyone can use it easily.
I'll try. I bet it's possible.
Perhaps rewritting ToolbarPlus

Posted: Wed Sep 14, 2005 3:00 pm
by rsts
This is very nice.

Thanks for sharing :)

Posted: Sat Oct 15, 2005 6:12 pm
by Polo
Is it possible to do a rebar of a menu like in explorer ?

Posted: Sat Oct 15, 2005 8:45 pm
by Polo
And also, how can I separate 2 rebars with a line, like in the Windows Explorer ?

Posted: Sat Oct 15, 2005 9:41 pm
by Polo
I found for the line, but still need to work out the thing with menus ;)
Does somebody has an idea ?

Posted: Sun Oct 16, 2005 10:24 am
by Polo
Ok, for the menu, I've tried a few stuffs, but those are not really good...
One of these is to create an independant windows with the menu, and create a rebar with as handle the independant windows. it works more or less, but the result is not good enought...
Where's Sparkie :cry: ?

Posted: Fri Oct 28, 2005 12:45 am
by Sparkie

Posted: Fri Oct 28, 2005 7:06 am
by Polo
Yes, but even with this page I don't manage to do it :(
They're not explaining the thing really well :cry:

Posted: Sat Oct 29, 2005 5:33 pm
by Sparkie
I've started to make some progress on this. I hope to have a working example for you in the next day or two. :)

Posted: Sat Oct 29, 2005 6:47 pm
by Polo
:shock:
As usual you're amazing me, thanks a lot !!!!
Can't wait to see what you've done :)