MikeMinton
asked on
Form title bar font and colour?????
Hi All
I new to this area and i think that this question may be a little tricky....
I want to change the title bar colour from the windows standard to a chosen colour of my choice, preferably a different colour and may be a fade, but i also want to change the font.
The key point is that i do not want to change this for all programs running, just the one i want to distribute.
This code must work for all Ms Windows platforms, from Windows 95 and beyond.
Any help would be grateful.
Thanks all.
I new to this area and i think that this question may be a little tricky....
I want to change the title bar colour from the windows standard to a chosen colour of my choice, preferably a different colour and may be a fade, but i also want to change the font.
The key point is that i do not want to change this for all programs running, just the one i want to distribute.
This code must work for all Ms Windows platforms, from Windows 95 and beyond.
Any help would be grateful.
Thanks all.
right, marco
mike, you'll essentially need to create your own titlebar since windows draws the title bar and not the program.
mike, you'll essentially need to create your own titlebar since windows draws the title bar and not the program.
ASKER
Thanks M
But, only problem with your code is that the form then no longer becomes 3d and looks quite basic, not only that but the picture box is only a single colour.
Thanks
Mike
But, only problem with your code is that the form then no longer becomes 3d and looks quite basic, not only that but the picture box is only a single colour.
Thanks
Mike
ASKER
Does anyone then know how to make a form 3d if the form has no border?
ASKER
Does anyone then know how to make a form 3d if the form has no border?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi MikeMinton,
It appears that you have forgotten to close this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Split points between: marconovaro and BWarmuskerken
MikeMinton, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten to close this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Split points between: marconovaro and BWarmuskerken
MikeMinton, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
You can do something like this:
draw a picturebox in the form, and set the border of the form to "None".
Then, you'll need subclassing in order to know when the user tries to click your new caption bar.
Here is an example (with code) of how to do that:
"Moving Forms and Creating Resize Gripper Boxes"
http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/Reliable_Interception_of_WM_NCHITTEST/article.asp
Hope this helps
M