How to hide a ToolBar

  • Thread starter Thread starter Xanty
  • Start date Start date
X

Xanty

I try ToolBar.Hide() and ToolBar.Visible=false
but it does'nt work at all.
How can I make it?Thanks.

MiCE
 
many thanks for your reply.
but it only works with the mainMenu control,
I use a ToolBar because I want some icon buttons.
Is any other choices?
 
If you are using Pocket PC then the Toolbar control relies directly on the
MainMenu since it is a single control with menu items to the left and
toolbar items to their right. If you are developing for CE.NET you could
remove the Toolbar control from the form's Controls collection and set it to
null.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top