Resizeable windowmode and immediately maximize!

Blitz3D Forums/Blitz3D Programming/Resizeable windowmode and immediately maximize!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

you mean this one :P
http://www.blitzbasic.com/Community/posts.php?topic=46633

hwnd=Api_GetActiveWindow()
iStyle=Api_GetWindowLong(hwnd, GWL_STYLE)
Api_SetWindowLong(hwnd, GWL_STYLE, iStyle Or $10000)
Api_ShowWindow(hwnd,3)


works fine here... thanks!
man i feel stupid right now ;D




edit:
api_ShowWindow(api_GetActiveWindow(), 3)
even this seems to be working. is it just on my machine or is just this one line really enough?