Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to programmatically change the font in a VB Active Window titlebar? I can do this by changing the system property "Active Titlebar Font", but I want to do this programmatically in VB 6.
5 replies
by fgarber
Click the right mouse button on the desktop. Click on appearance. Click on the active window title bar and at the bottom of the window is the font selection dropdown.
by shyl
I know about this already. If you look at my question carefully, it was how to change it programmatically in VB 6 environment.
You can't change the title bar font for a specific window without causing all the other windows/apps to redraw their title bar.
You can intercept the WM_NCPAINT message and paint the title bar however you please--placing whatever font/text/graphics you want in there.
You'll have to check the size of the title bar in order to paint properly.
I'll assume you know how to intercept a standards windows message with VB.
by shyl
Poster rated this answer
by shyl
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
0 helpful
15 replies
Question
Is WSL still relevant in 2026?
0 helpful
1 reply
0 helpful
2 replies
0 helpful
10 replies
Question Unanswered
i need help in transferring my bulk emlx files
0 helpful
0 replies