Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Interface and Graphics > MainMenu position

Thread Tools Display Modes
Old 12-19-2003, 04:00 AM
viron75 viron75 is offline
Join Date: Dec 2003
Posts: 2
Question MainMenu position

I have a borderless form so that i can skin it and i am wondering how to change where the MainMenu component shows up. I havent been able to find any .Top or any location properties.
Reply With Quote
Old 12-19-2003, 08:38 AM
Csharp's Avatar
Csharp Csharp is offline
Senior Contributor

* Expert *
Join Date: Jul 2003
Location: Ashby, Leicestershire.
Posts: 967

the main menu will show at the top on a borderless form , if you want a menu to pop up elsewhere , look at the Context menu control.
~~ please don't PM me regarding code, I only reply to personnal messages ~~
Reply With Quote
Old 12-20-2003, 06:09 AM
viron75 viron75 is offline
Join Date: Dec 2003
Posts: 2

Yes, but is there a way to make it act as a MainMenu component or is it just a single vertical right-click menu?
Reply With Quote
Old 12-29-2003, 12:38 AM
AndreRyan AndreRyan is offline
Join Date: Jan 2002
Posts: 489

You can try creating a button, coloring and styling it to blend into the skin then when the user left clicks it, display the context menu at the bottom-left corner of the button, it should look believeable.
If you're a beginner or have little experience don't launch into something beyond your abilities, for example don't start game programming by trying to make a 3D first person shooter if you have no idea how to use DirectX and/or OpenGL or how to keep track of objects in a 2D plane let alone a 3D one.
Reply With Quote
Old 12-31-2003, 07:25 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
Join Date: Nov 2001
Location: Graceland
Posts: 15,614

SandBar will do this without a single line of code. And it's free for non-commercial use.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remember last Windows Position CodeRed General 5 11-22-2003 03:36 AM
Need this code reviewed... is this the correct forum? Jatopian Game Programming 4 09-27-2003 08:56 AM
Reading / setting mouse position issue in XP etc? powerking General 1 07-09-2003 05:34 AM
search position of second " " in string archerke General 7 03-25-2003 10:14 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..