Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

windows' windows

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Grey Phantom   Members   

122
Like
Likes
Like

Posted 18 June 2000 - 06:00 AM

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.

#2 Enix   Members   

122
Like
Likes
Like

Posted 18 June 2000 - 06:16 AM

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.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.