![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 312
Rep Power: 4
![]() |
[WIN32] Fixed window size
How do I tell the created window to not be resizeable? (The maximize button should be grey)
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: here
Posts: 144
Rep Power: 0
![]() |
What development enviornment are you in?
__________________
"...and though our kids are blessed their parents let them shoulder all the blame." - The Quiet Things That No One Ever Knows [BrandNew] |
|
|
|
|
|
#3 | |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 312
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() ![]() |
kinda a broad question... so here is a broad answer....
check this out: http://msdn.microsoft.com/msdnmag/is...c/default.aspx
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#5 | |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 312
Rep Power: 4
![]() |
Quote:
mWindow = CreateWindow(...); mWindow.SetResizeable(false); |
|
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Well, you didn't mention what API you were using. I take it you're using the bog-standard Win32 API?
|
|
|
|
|
|
#7 | |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 312
Rep Power: 4
![]() |
Quote:
![]() |
|
|
|
|
|
|
#8 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Ah... I assumed that just meant you were using Windows. In that case, this should help. All constants in that list can be used as part of the dwStyle parameter of CreateWindow, I believe.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|