-
September 24th, 2004, 03:15 AM
#1
Title size
hello guys
i have a question how can we increase the height of the window's title using MFC/WinAPI/C# any one have an idea pls help me
thanx
-
September 24th, 2004, 04:34 AM
#2
Re: Title size
Use SystemParametersInfo() function with SPI_SETNONCLIENTMETRICS parameter. See MSDN for details.
With best wishes, Alexander Hritonenkov
-
September 24th, 2004, 06:29 AM
#3
Re: Title size
it will set for all the windows in the system but i want to change the title size of my own window
-
September 24th, 2004, 07:04 AM
#4
Re: Title size
You can create window WITHOUT WS_CAPTION style. And allocate as much area for caption, as you want. Then you should handle it's paint in WM_NCPAINT message handler. And to handle mouse you should respond to WM_NCHITTEST message. Try.
Last edited by Scrambler; September 24th, 2004 at 07:07 AM.
With best wishes, Alexander Hritonenkov
-
September 24th, 2004, 07:43 AM
#5
Re: Title size
WS_CAPTION other then this style i can't attach standard menus and toolbar. i want a standard window with large NonClient Area(Title bar) then standard title
thanx for ur reply
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|