473,789 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Title Bar/Caption Bar Color

Is there a way to change the default color of a windows
form title bar/caption bar from within an application
(without changing the user's preferences)?
I do know how to remove the title bar along with a lot of
other functionalities . It would be helpful to get away
from this bright blue color that restricts all color
schemes.
I have tried:
the systemcolors class
ActiveCaption (a read-only property)

I would be grateful for any help,
Thanks, Ursula
Jul 21 '05 #1
1 1944
Not without intercepting NC_* (non-client) messages and drawing the caption
bar yourself. Intercepting the messages is easy - all you need to do is
override DefWindowProc on the form. The problem is the drawing.

There are many samples of how to do this from C++ and VB. I'd probably start
by looking at those and trying to port them.
--
_______________ _____
Klaus H. Probst, MVP
http://www.vbbox.com/

"Ursula" <an*******@disc ussions.microso ft.com> wrote in message
news:0c******** *************** *****@phx.gbl.. .
Is there a way to change the default color of a windows
form title bar/caption bar from within an application
(without changing the user's preferences)?
I do know how to remove the title bar along with a lot of
other functionalities . It would be helpful to get away
from this bright blue color that restricts all color
schemes.
I have tried:
the systemcolors class
ActiveCaption (a read-only property)

I would be grateful for any help,
Thanks, Ursula

Jul 21 '05 #2

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

Similar topics

33
3305
by: bissatch | last post by:
Hi, I fully understand the purpose of an alt attribute within a <img> tag but why would you use a title or summary attribute within, for example, a <p> tag. I have read books recommending that I use them but why? Does this enhance accessibility? Please provide reasons why one would want to use these? Thanks Burnsy
3
4994
by: Ken | last post by:
Hi. I've defined a custom database property called Version. It is a text value. I wanted to know if there is a way to include that value on the title bar of a form window. Also, is there a way to include it on the title bar of the database window? I'm using Access 97. Thanks for any info!
4
13590
by: DerekM | last post by:
I have a database project that I created with several forms and reports. I would like to be able to declare a single title and be able to change the title on all the forms and reports by changing a single variable. I think this is possible, however I don't know Visual Basic very well. I created a module named DBcommon with the following statements in it: Option Compare Database Global Const DBname As String = "Title String"
2
6465
by: Trammel | last post by:
Hi. I have been trying to make a simple application that will sit in the background and alert me of any changes in window focus (IE: Pop-up windows) on my system. I have used DirectTextToSpeech from Microsoft and tried the following code... The problem I am having is that it detects its own caption fine... but no captions of other windows :¬/ Could someone please have a look at the following code and lemme know what
1
448
by: Ursula | last post by:
Is there a way to change the default color of a windows form title bar/caption bar from within an application (without changing the user's preferences)? I do know how to remove the title bar along with a lot of other functionalities. It would be helpful to get away from this bright blue color that restricts all color schemes. I have tried: the systemcolors class ActiveCaption (a read-only property)
1
2686
by: mplus_2000 | last post by:
I have recently inherited a database. The switchboard (and other forms) displays the name of the database on it (top, center). Currently the name that appears is Reviews. There are plans to roll out the application (i.e. making copies of the database) to other locations (Reviews-NY, Review-Dallas etc). If was mentioned today in passing by the original developer that there is a way to change the title that appears on the switchboard without...
2
5113
by: eljainc | last post by:
Hello, I would like my program to display the caption on the form (top of form on title bar) in a different font. I would ideally like to have one part of the form caption in one font, and another part in a standard (i.e. Arial) font. How do I go about doing this? It is probably an an override of the standard form or a custom draw routine for the caption.
3
6849
by: mattcolenutt | last post by:
Hi, hope anyone can help. Request: How do I hide the captions tile on a form. Example: Access Database Tile : Desired Result: Access Database Tile (only)
5
7476
by: cssExp | last post by:
Is it possible to change/specify caption/title of the javascript alert box? alert('This Field is required'); to have the caption as Info instead of web page url.
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3700
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.