|
-
February 1st, 2000, 07:37 PM
#1
Add a button to the title bar?
Does any one happens to know how to add a button to the title bar of a form?
If you once used getright, there is a little dot button on the title bar (in addition to the min/max/close buttons). Is this possible in VB programming?
Thanks in advance
-
February 1st, 2000, 08:38 PM
#2
Re: Add a button to the title bar?
Yes it is posible, you can recreate the titlebar and place there as many buttons as you want, just set forms borderstyle to 0-none and add picture box, buttons for min/max/close and other stuff that you want. Make your own titlebar!!!!
-
February 2nd, 2000, 03:59 AM
#3
Re: Add a button to the title bar?
It is possible, but quite tricky (involves some deep subclassing routines). Matt Hart has an example at http://www.matthart.com
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
February 3rd, 2000, 10:17 AM
#4
Re: Add a button to the title bar?
Do you have the exact url for that example? I tried searching "titlebar", it does not show up.
Thanks a lot!
--Changzhou
-
February 3rd, 2000, 11:00 AM
#5
Re: Add a button to the title bar?
Using picture boxes? Well..., it could work on simple forms, but remember, creating your own titlebar like that means that you will have to write your own menu-system as well.
Tom Cannaerts
[email protected]
-
November 25th, 2000, 03:06 AM
#6
Re: Add a button to the title bar?
-
November 26th, 2000, 04:59 PM
#7
Re: Add a button to the title bar?
At Http://www.vbpj.com/ you can type in VBPJ0399BB in the "Locator" to download Matt Harts code for customizing titlebars.
Article is in the March, 1999 issue of VBPJ, page 115.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|