Click to See Complete Forum and Search --> : Add a button to the title bar?
February 1st, 2000, 06:37 PM
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
AndyK
February 1st, 2000, 07:38 PM
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!!!!
Chris Eastwood
February 2nd, 2000, 02:59 AM
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
Changzhou
February 3rd, 2000, 09:17 AM
Do you have the exact url for that example? I tried searching "titlebar", it does not show up.
Thanks a lot!
--Changzhou
Cakkie
February 3rd, 2000, 10:00 AM
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
slisse@planetinternet.be
VEM
November 25th, 2000, 02:06 AM
hey, i found an really good example, click the url below:
http://www.planet-source-code.com/upload/ftp/CODE_UPLOAD9717972000.zip
Rate the post!
http://www.visualblind.com
mathouse
November 26th, 2000, 03:59 PM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.