create window question

Started by
1 comment, last by djsteffey 23 years, 2 months ago
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
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...
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.

This topic is closed to new replies.

Advertisement