Skip to main content
gamedev.net
🔒 Locked

Custom window border

Started by Oxygenium 0 replies 600+ views
Original Post
Oxygenium
Oxygenium
I''m trying to create a window, with some "other" border. Just the border, not anything else. So I''ve tryied the WM_NCPAINT message, but the result is ... ahem ... strange. I know, that there''s a function called SetWindowRgn that creates a window with some uncommon shape. But then I''d draw all the borders and header on my own - I think, that there must be some purpose for WM_NCPAINT, isn''t there? Oxygenium
---Unreadable code is code written on a piece of paper, but not the one, in which its programmer is using a space in place you don't.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.