MSDN says that the system controls the non-client area of a window, but I was hoping there was some way to remove it. I want to be able to fully paint my window, from one side to the other. Is this possible?
MSDN says that the system controls the non-client area of a window, but I was hoping there was some way to remove it. I want to be able to fully paint my window, from one side to the other. Is this possible?
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
You can intercept and process the WM_NCxxxx messages. Start with WM_NCPAINT.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
If I did that I still wouldn't be able to put a child window anywhere in the window. I'm thinking about something with just a simple one pixel wide border and all client area, like in the attachment.
Something like a permament tool-tip window, just a little bigger! Those must be windows.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
Hmmm. All you have to do is specify the WS_POPUP style. Although I could swear I had tried every single window style there is. I guess we're finished here.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials