Question About Form's Title Bar 
Author Message
 Question About Form's Title Bar

Hello,

I was wondering if there is a way to override the windows default color
for a form's title bar.  What I would like to do is replace it with a
color or my own choosing, no matter what the user's color scheme is.
Thanks for any and all help you can lend.

Marc



Sun, 02 Dec 2001 03:00:00 GMT  
 Question About Form's Title Bar
Hello,

I was wondering if there is a way to override the windows default color
for a form's title bar.  What I would like to do is replace it with a
color or my own choosing, no matter what the user's color scheme is.
Thanks for any and all help you can lend.

Marc



Sun, 02 Dec 2001 03:00:00 GMT  
 Question About Form's Title Bar

Quote:
>I was wondering if there is a way to override the windows default color
>for a form's title bar.  What I would like to do is replace it with a
>color or my own choosing, no matter what the user's color scheme is.
>Thanks for any and all help you can lend.

The 'Visual Basic Programmer's Journal' did an article on this a couple of
months ago.  I will be glad to send you the code once I get it typed in, but
you may be able to find it at http://www.vbpj.com.  The section was called
"Black Belt Programming".  Sorry I can't of more help, but I hope this gets you
started.

~6
http://members.aol.com/Privy6
"Great sex comes from experience;
Great lovemaking comes from the heart."



Sun, 02 Dec 2001 03:00:00 GMT  
 Question About Form's Title Bar

Quote:

>Hello,

>I was wondering if there is a way to override the windows default color
>for a form's title bar.  What I would like to do is replace it with a
>color or my own choosing, no matter what the user's color scheme is.
>Thanks for any and all help you can lend.

There was an article in a recent issue of VBPJ (the one before the latest, I
think) which told how to subclass a form to do whatever you want to the title
bar.  It was long and complicated and looked like a lot more trouble than you
want to go thru just to change the color.  Other than that, your best choice
may be to put up a form without a title bar and dummy your own using a label
or a picturebox.

Lee Weiner
weiner AT fuse DOT net
http://home.fuse.net/lweiner



Sun, 02 Dec 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Change the colour of a Form's Title Bar

2. Custom Icon in form's Title bar

3. Mouse Click Event On Form's Title bar

4. Setting a form's title bar height?

5. Changing a specific form's title bar color

6. adding another icon to a form's title bar

7. checking the colour of a form's title bar

8. Change Font in title bar of mdi child/Hide title bar

9. Change Font in title bar of mdi child/Hide title bar

10. How do I get the size of form borders and title bar on a form

11. clicking on a window's title bar

12. Put a button to another app's title bar

 

 
Powered by phpBB® Forum Software