Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Window mode only with the Close button  (Read 11590 times)

0 Members and 1 Guest are viewing this topic.

Andrej (Blue Arc)

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 73
    • View Profile
Window mode only with the Close button
« 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.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Window mode only with the Close button
« Reply #1 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.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Andrej (Blue Arc)

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 73
    • View Profile
Re: Window mode only with the Close button
« Reply #2 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.
Logged
 

Page created in 0.035 seconds with 22 queries.