Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

I am having a problem that I saw someone else was having but they never seemed to resolve it, so I thought I would start another thread about it.

Basically when the computer is put in Standby mode, either by a remote or from the Gameex menu, it will minimize Gameex and then enter standby. When I resume from standby Gameex is still minimized and so I will have to use a mouse to bring it back up.

Any help with this issue would be greatly appreciated.

Thanks

Posted

Im one of the others that is having this problem.... I cant seem to figure it out, so if someone has some new ideas id love to hear them :)

Posted

Tom: I did a little research on this and discovered that you can detect when a system comes out of standby by handling the Microsoft.Win32.SystemEvents.PowerModeChanged event and checking PowerModeChangedEventArgs.Mode for PowerModes.Resume. Then you could just maximize the GameEx window if it's not already. I suppose you could also check the GameEx window state when it enters suspend and set it back to that state on resume.

Posted
  headkaze said:
Tom: I did a little research on this and discovered that you can detect when a system comes out of standby by handling the Microsoft.Win32.SystemEvents.PowerModeChanged event and checking PowerModeChangedEventArgs.Mode for PowerModes.Resume. Then you could just maximize the GameEx window if it's not already. I suppose you could also check the GameEx window state when it enters suspend and set it back to that state on resume.

Thanks, I've been meaning to do something with this issue. Ill check it out.

Got a question for you. If GameEx is already maximized or normal but does not have the focus on resume how would I set it so it does? Never really known the best way to do that, or if its even possible with XP and beyond?

Posted
  TSpeirs said:
Thanks, I've been meaning to do something with this issue. Ill check it out.

Got a question for you. If GameEx is already maximized or normal but does not have the focus on resume how would I set it so it does? Never really known the best way to do that, or if its even possible with XP and beyond?

I think the following should be enough

Form.BringToFront()
Form.Activate()
Form.Focus()

Posted

If it helps any, it looks like gameex is minimizing before it goes in standby. I think....

Posted
  LB11 said:
If it helps any, it looks like gameex is minimizing before it goes in standby. I think....

Yeah it was. Its actually fixed and working here now, and will be in the next release. So thank HK.

Guest
This topic is now closed to further replies.
×
×
  • Create New...