 |
Bay Six Software Beyond the Basics
|
View previous topic :: View next topic |
Author |
Message |
Dave Guest
|
Posted: Mar 17th, 2007, 7:31pm Post subject: Applying a Toolbar to a Rebar Control |
|
|
Brent,
I'm a big fan of ViviFire, and what I am trying to figure out is how you were able to apply a toolbar to a rebar control, so the toolbar and rebar would "become one". If you don't mind, I'm considering using rebar toolbars in some of my future Liberty BASIC applications. I don't want you to go out of your way to do this, but could you please make a small demo for me. Thank you!
P.S. Also, could this be applied to a menubar? |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 793
|
Posted: Mar 20th, 2007, 9:05pm Post subject: Re: Applying a Toolbar to a Rebar Control |
|
|
Welcome to the forum, Dave!
What part of my code do you find most confusing?
Rebar bands can hold only a simgle control. However, you can use a container object to hold all kinds of controls.
You can't use a standard menu bar with a rebar, thought, because the menu is part of a window's nonclient area. MSDN has an article the describles how to create an IE-like interface, including the menus using toolbars and rebar. But it's pretty complex and I haven't tried it yet. _________________ Brent |
|
Back to top |
|
 |
Dave Guest
|
Posted: Mar 20th, 2007, 11:50pm Post subject: Re: Applying a Toolbar to a Rebar Control |
|
|
I'm not sure how you were able to attach the entire toolbar to the rebar control, because I know the rebar control uses the hwnd(#handle) of a control, and the toolbar you use does not have its own #handle.
I'm pretty sure that I had another question not mentioned above relating to the rebar, but I don't remember right now. If I remember, I'll post it right away.
MSDN is one of my favorite programming resources, and I always find it helpful.
Thank you for your responses.
--Dave |
|
Back to top |
|
 |
Dave Guest
|
Posted: Mar 28th, 2007, 2:22am Post subject: Re: Applying a Toolbar to a Rebar Control |
|
|
My overall question now is how to apply a toolbar to a rebar control, because of getting the handle of the toolbar itself. |
|
Back to top |
|
 |
Dave Guest
|
Posted: May 14th, 2007, 9:52pm Post subject: Re: Applying a Toolbar to a Rebar Control |
|
|
Any suggestions? |
|
Back to top |
|
 |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
|