Jump to content
  • Advertisement

Archived

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

djsteffey

create window question

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

how can i create a window where it cant be resized. I want to be able to minimize it and then restore it but not change the size. Is there something I can pass in the window class or the create window functino to do this ? I cant find it on MSDN....their search engine is terrible "Now go away or I shall taunt you a second time" - Monty Python and the Holy Grail

Share this post


Link to post
Share on other sites
Advertisement
You could use WS_OVERLAPPED as the dwStyle parameter when you call CreateWindowEx. That''ll create a window with a border and title but no controls. You won''t be able to re-size that.
If you need controls on the thing as well, then I dunno...

Share this post


Link to post
Share on other sites
Hello ncsu121978,
I have the solution to your problem, cause i tried it and it worked, here is your answer, try this combination..
WS_OVERLAPPED | WS_MINIMIZEBOX | WS_SYSMENU

It will make windows life easy..

Sincerely,
Sajjad.

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!