Jump to content
  • Advertisement


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


No-Resize Window

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

Hey all, a real noob question, almost posted this in beginners but it''s API specific, so..... I dunno... not DirectX tho, win32. Well, I think so. Anyhow - I''m creating a nice windowed ddraw window to do some stuff in, but I don''t want the user to be able to resize it (and hence resize the contents). Here''s my window creation: hWnd = CreateWindowEx(NULL,"wc","Test01", WS_POPUP,0,0,1024,768,0,0,hInstance,0); I last stuck WS_POPUP in there to try it - I''ve tried a ton of them, to no avail. I have no idea if window style is the correct thing to mess with even. Any one able to save me?

Share this post

Link to post
Share on other sites
I don''t get what you mean exactly, but thes codes will help you.
Both codes keep users from resizing application''s window

1.Window style for windowed mode
2.Window style for fullscreen mode

And, as you said, this is not a DX question, though...

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!