Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a stand alone toolbar

Status
Not open for further replies.

Brenton

Technical User
Jul 29, 2002
43
US
Is it possible to create a stand alone toolbar? No form, just a toolbar. Any help would be appreciated.

Brent Pryer
 
What exactly do you want the toolbar to do? If you want a bar that has some icons on it then you would still need a form. If this is the case I have done the same thing recently.

Greg Palmer

----------------------------------------
Any feed back is appreciated.
 
I'd disagree with the comment that a ToolBar is a Form. A ToolBar is a WINDOW, but the term "Form" is a VB term, and has implications.

If you want to create a floating toolbar without an open form, I believe you'll need to define a form having no controlbox, minimize or maximize buttons, and size the form to surround the toolbar in the toolbar's Resize event.

I'd recommend buying a toolbar like Infragistics' Ultra ToolBar rather than trying to make the pig that comes with VB work.

Pete
 
if we were in any forum apart from the VB forum, I would have been more precise with my terminology. However...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top