Archived

This topic is now archived and is closed to further replies.

windows' windows

This topic is 6392 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi people. I''m first time here, so don''t hurt me hard if I found wrong place for my question. Sorry for this a bit messy subject. I''m wonder, how the heck to escape from Windows-like windows? I want to get a window with my own look (like they do it with winamp). I don''t want standard titles and buttons "min, max, close". I want to create my own look of an window. I need this for the game... I use MS Visual C++ 6.0 and the game is written with using MFC. Thanks a lot for reading it. best wishes, Grey P. ========================= Life is a bitch, and we are its kids.

Share this post


Link to post
Share on other sites
To create your own look you have to process the WM_NCPAINT and WM_NCHITTEST messages.
WM_NCPAINT -> draw the NonClient area
WM_NCHITTEST -> process the hittest info

i haven''t done this sort of thing myself, but you would have to at least process these two messages, and maybe some more.

Share this post


Link to post
Share on other sites