Louis Daoust
April 27th, 1999, 10:31 AM
I need to use a fixed font for the title bar of a window. How to I change this ?
Thanks,
Louis.
Thanks,
Louis.
|
Click to See Complete Forum and Search --> : How to change window title font Louis Daoust April 27th, 1999, 10:31 AM I need to use a fixed font for the title bar of a window. How to I change this ? Thanks, Louis. Paul McKenzie April 27th, 1999, 12:04 PM You need to do a few things. Capture WM_NCPAINT, WM_SETTEXT, WM_SYSCOMMAND and WM_NCACTIVATE. These messages all rewrite the caption to the window. Refer to the Microsoft article Q99046. This describes in detail what to do when you retrieve these messages. I believe the article can be found at www.microsoft.com, or in any MSDN on-line help (including the help that comes with VC 6). Regards, Paul McKenzie Gomez Addams April 27th, 1999, 03:47 PM In addition to what Paul said, there is an article on this site about painting a gradient-shaded caption bar at http://www.codeguru.com/misc/GradientCap.shtml Obviously, you can revise the caption painting to suit your needs. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |