PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Hide system menu

Reply

Hide system menu

 
Thread Tools Rate Thread
Old 09-02-2006, 04:51 PM   #1
Lance Johnson
Guest
 
Posts: n/a
Default Hide system menu


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


  Reply With Quote
Old 09-02-2006, 06:23 PM   #2
Stoitcho Goutsev \(100\)
Guest
 
Posts: n/a
Default Re: Hide system menu

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.


--
HTH
Stoitcho Goutsev (100)

"Lance Johnson" <ljohnson@docs.com> wrote in message
news:%23ljHmjZLGHA.1124@TK2MSFTNGP10.phx.gbl...
>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
>



  Reply With Quote
Old 09-02-2006, 08:14 PM   #3
Lance Johnson
Guest
 
Posts: n/a
Default Re: Hide system menu

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


"Stoitcho Goutsev (100)" <100@100.com> wrote in message
news:OaPewVaLGHA.2336@TK2MSFTNGP12.phx.gbl...
> 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.
>
>
> --
> HTH
> Stoitcho Goutsev (100)
>
> "Lance Johnson" <ljohnson@docs.com> wrote in message
> news:%23ljHmjZLGHA.1124@TK2MSFTNGP10.phx.gbl...
>>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
>>

>
>



  Reply With Quote
Old 09-02-2006, 08:19 PM   #4
Lance Johnson
Guest
 
Posts: n/a
Default Re: Hide system menu

I don't suppose there's a way to hide the system menu and have the x still
appear in the upper right?

Lance

"Stoitcho Goutsev (100)" <100@100.com> wrote in message
news:OaPewVaLGHA.2336@TK2MSFTNGP12.phx.gbl...
> 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.
>
>
> --
> HTH
> Stoitcho Goutsev (100)
>
> "Lance Johnson" <ljohnson@docs.com> wrote in message
> news:%23ljHmjZLGHA.1124@TK2MSFTNGP10.phx.gbl...
>>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
>>

>
>



  Reply With Quote
Old 09-02-2006, 11:08 PM   #5
Stoitcho Goutsev \(100\)
Guest
 
Posts: n/a
Default Re: Hide system menu

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.


--

Stoitcho Goutsev (100)

"Lance Johnson" <ljohnson@docs.com> wrote in message
news:utAn3XbLGHA.3876@TK2MSFTNGP11.phx.gbl...
>I don't suppose there's a way to hide the system menu and have the x still
>appear in the upper right?
>
> Lance
>
> "Stoitcho Goutsev (100)" <100@100.com> wrote in message
> news:OaPewVaLGHA.2336@TK2MSFTNGP12.phx.gbl...
>> 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.
>>
>>
>> --
>> HTH
>> Stoitcho Goutsev (100)
>>
>> "Lance Johnson" <ljohnson@docs.com> wrote in message
>> news:%23ljHmjZLGHA.1124@TK2MSFTNGP10.phx.gbl...
>>>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
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

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