Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2006

Tip: Looking for answers? Try searching our database.

Hide system menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lance Johnson - 09 Feb 2006 16:51 GMT
I want to hide the system menu (the dropdown for the icon on the left)
without hiding the entire titlebar for my form.  I haven't been able to
accomplish this.  Is this possible, and if so how?

Lance Johnson
Stoitcho Goutsev (100) - 09 Feb 2006 18:22 GMT
Lance,

Look at the ControlBox property. Setting this property to false will hide
the system menu; the caption will stay there as long as there is some text
for it. If there is not text the caption bar will disappear.

You can also try to play with different border styles. FixedDialog for
example doesn't have icon.

Signature

HTH
Stoitcho Goutsev (100)

>I want to hide the system menu (the dropdown for the icon on the left)
>without hiding the entire titlebar for my form.  I haven't been able to
>accomplish this.  Is this possible, and if so how?
>
> Lance Johnson
Lance Johnson - 09 Feb 2006 20:14 GMT
Thanks for the info.  I didn't have any text on the titlebar.  I thought
that this had worked before, but didn't realize having no text would do
that.

Lance Johnson

> Lance,
>
[quoted text clipped - 10 lines]
>>
>> Lance Johnson
Lance Johnson - 09 Feb 2006 20:19 GMT
I don't suppose there's a way to hide the system menu and have the x still
appear in the upper right?

Lance

> Lance,
>
[quoted text clipped - 10 lines]
>>
>> Lance Johnson
Stoitcho Goutsev (100) - 09 Feb 2006 23:08 GMT
Lance,

If you leave ControlBox = true, FixedDialog border style has no icon, but
buttons; to hide minimize and maximize buttons set MaximizeBox and
MinimizeBox to false.

Other border style without icon but X button are tool windows, but they have
thinner caption.

Signature

Stoitcho Goutsev (100)

>I don't suppose there's a way to hide the system menu and have the x still
>appear in the upper right?
[quoted text clipped - 15 lines]
>>>
>>> Lance Johnson

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.