Wintermute Engine Forum

Wintermute Engine => Technical forum => WME sources discussion => Topic started by: Andrej (Blue Arc) on December 31, 2010, 10:33:41 AM

Title: Window mode only with the Close button
Post by: Andrej (Blue Arc) on December 31, 2010, 10:33:41 AM
Hello there,

could Mnemonic or someone else advanced progammer edit WME Sources and change window style please? Now when game is running in windowed mode it has three buttons: minimalize, maximalize and close. I am not sure how is the style only with Close button called in Win32 API.

Please could somebody do it? Many thanks.
Title: Re: Window mode only with the Close button
Post by: Mnemonic on January 01, 2011, 01:21:50 PM
The relevant code would be the "Flags" variable in CBPlatform::Initialize(). I don't know what exactly the flags should be, you'd have to study CreateWindowEx documentation in Win32 API docs.
Title: Re: Window mode only with the Close button
Post by: Andrej (Blue Arc) on January 02, 2011, 12:45:55 PM
The relevant code would be the "Flags" variable in CBPlatform::Initialize(). I don't know what exactly the flags should be, you'd have to study CreateWindowEx documentation in Win32 API docs.

Thank you for you sugget Mnemonic. I will try to do it.