Home All Groups Group Topic Archive Search About

Custom Titlebar Troubles

Author
4 Apr 2005 1:45 PM
Jesse Aufiero
Hi,

I'm trying to create a custom titlebar for my form.  I've hidden the form's
titlebar by clearing the text property and setting ControlBox=False.

This removes the titlebar as desired, but also has an unwanted side-effect.
When I run the app, the system menu does not appear when I right-click the
form in the taskbar.

How can I have a custom titlebar, and also have the system menu in the
taskbar??

Thanks!

Author
4 Apr 2005 2:45 PM
Mick Doherty
http://dotnetrix.co.uk/misc.html-->An example of a moveable/resizable shaped
form.

Show quoteHide quote
"Jesse Aufiero" <jaufi***@moaboil.com> wrote in message
news:OIQ%23SyROFHA.3880@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I'm trying to create a custom titlebar for my form.  I've hidden the
> form's titlebar by clearing the text property and setting
> ControlBox=False.
>
> This removes the titlebar as desired, but also has an unwanted
> side-effect. When I run the app, the system menu does not appear when I
> right-click the form in the taskbar.
>
> How can I have a custom titlebar, and also have the system menu in the
> taskbar??
>
> Thanks!
>
Author
4 Apr 2005 2:52 PM
Jesse Aufiero
perfecto

"Mick Doherty"
<EXCHANGE#WITH@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
Show quoteHide quote
message news:urOdwTSOFHA.3336@TK2MSFTNGP10.phx.gbl...
> http://dotnetrix.co.uk/misc.html-->An example of a moveable/resizable
> shaped form.
>
> --
> Mick Doherty
> http://dotnetrix.co.uk/nothing.html
>
>
> "Jesse Aufiero" <jaufi***@moaboil.com> wrote in message
> news:OIQ%23SyROFHA.3880@TK2MSFTNGP15.phx.gbl...
>> Hi,
>>
>> I'm trying to create a custom titlebar for my form.  I've hidden the
>> form's titlebar by clearing the text property and setting
>> ControlBox=False.
>>
>> This removes the titlebar as desired, but also has an unwanted
>> side-effect. When I run the app, the system menu does not appear when I
>> right-click the form in the taskbar.
>>
>> How can I have a custom titlebar, and also have the system menu in the
>> taskbar??
>>
>> Thanks!
>>
>
>