Jump to content
  • Advertisement

Archived

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

JIMbond21

Win32 window question?

This topic is 5366 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

Advertisement
In your CreateWindow call use the WS_THICKFRAME or WS_SIZEBOX styles in the ''DWORD dwStyle'' parameter. Tell me if you need more explanation.

Share this post


Link to post
Share on other sites
I had been using WS_OVERLAPPEDWINDOW | WS_VISIBLE, I added the styles you suggested in various combinations and just one or the other, but every time I could still resize the window, any other thoughts?

Share this post


Link to post
Share on other sites
I think Rayno read your question as "How would I make a win32 window that CAN be resized"

to make a window that can''t be resized, make sure that you don''t specify the WS_THICKFRAME flag. Something like (WS_OVERLAPPEDWINDOW &~ WS_THICKFRAME) would work.

Share this post


Link to post
Share on other sites
You only need WS_SYSMENU|WS_MINIMIZEBOX to make your window like that

[edited by - FtMonkey on November 9, 2003 5:04:15 PM]

Share this post


Link to post
Share on other sites
quote:
Original post by Melekor
I think Rayno read your question as "How would I make a win32 window that CAN be resized"




Whoops. My mistake. Sorry JIMbond21.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!