473,246 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Custom Titlebar Troubles

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!
Nov 21 '05 #1
2 2135
http://dotnetrix.co.uk/misc.html-->An example of a moveable/resizable shaped
form.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Jesse Aufiero" <ja******@moaboil.com> wrote in message
news:OI****************@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!

Nov 21 '05 #2
perfecto

"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:ur**************@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" <ja******@moaboil.com> wrote in message
news:OI****************@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!


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Benny Raymond | last post by:
How would you go about custom drawing the title bar of a form? I'd like to change it so that I can add different colors to my title and also change how the close button works (since I override it...
4
by: Sam Marrocco | last post by:
Is it possible to place controls such as a checkbox or button in the titlebar of a form? -- ================================================================== Sam J. Marrocco Sr. Visual...
2
by: Furer Ramon | last post by:
hi every one please i need know how to create a custom title bar like writing on title bar and change the look of maximize button and close button and so on using ..net framework Greets R....
10
by: Ammu | last post by:
hi everybody! does anyone know how to get a gradient titlebar in vbdotnet app...? pls help. thanks in advance.
4
by: Jason | last post by:
Its been asked and done before I suspect, but I can't find anything that will work. I'm trying this and it has no titlebar, but shows the calendar on a full page. <a...
1
by: x taol | last post by:
Set dbs = CurrentDb dbs.Properties!AppTitle = "Contacts Database" Application.RefreshTitleBar this code is well working. but form is opend. when the form is maximized, the titlebar name is...
7
by: Marcolino | last post by:
Hi all, I need to add a custom button to title bar on a form in addition of a standard button. (Minimize/Maximize, close etc.) I need also to handle OnClick event of this button. I looked around...
1
by: hisree | last post by:
hi frnds i want full screen window without titlebar, i can use this script, var win =...
1
by: toddkjr | last post by:
I was curious if some may be able to help me?. I currently have a control library and inside I have a TitleBar control. The graphics are all drawn onto the titlebar control. I dont know how to...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.