Windows Explorer Type Customizable Toolbars

Everything else that doesn't fall into one of the other PB categories.
Shopro
Enthusiast
Enthusiast
Posts: 148
Joined: Tue May 13, 2003 8:05 am

Post by Shopro »

Got it!

Thanks alot Sparkie

-Shopro
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

You're very welcome Shopro. Good luck with your project. :)
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post 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
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post 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
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

This is very nice.

Thanks for sharing :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Is it possible to do a rebar of a menu like in explorer ?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

And also, how can I separate 2 rebars with a line, like in the Windows Explorer ?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I found for the line, but still need to work out the thing with menus ;)
Does somebody has an idea ?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post 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: ?
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Yes, but even with this page I don't manage to do it :(
They're not explaining the thing really well :cry:
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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. :)
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

:shock:
As usual you're amazing me, thanks a lot !!!!
Can't wait to see what you've done :)
Post Reply