I've been working with GD on the desktop PC and found out that I needed the ff. features. I hope someone can shed some light on this. 
1. Is there a way I can always have my GD window app centered on the the desktop PC's screen everytime it is launched/run? If so, how do I do this? I presume I need to add something in the config? I'm using the GapiApplication framework.
2. If I set "config.bRegainLostFocus = true;", my GD app will not minimize if the focus was lost. However, I want my app to detect if the focus was lost, how do I do this using GapiApplication? Is there a way I can add an "OnLostFocus" event along with "OnMinimize" and "OnRestore"?
Thanks in advance!
1. Is there a way I can always have my GD window app centered on the the desktop PC's screen everytime it is launched/run? If so, how do I do this? I presume I need to add something in the config? I'm using the GapiApplication framework.
2. If I set "config.bRegainLostFocus = true;", my GD app will not minimize if the focus was lost. However, I want my app to detect if the focus was lost, how do I do this using GapiApplication? Is there a way I can add an "OnLostFocus" event along with "OnMinimize" and "OnRestore"?
Thanks in advance!