Page 1 of 1

Modal window

Posted: Sun May 21, 2006 10:02 am
by aggelon
When I join a game and click on the Cancel button because I have key-in my name with a mistake ^_^ a message window tells me the game ended (it's ok, see http://aggelonware.free.fr/mom/ime/screen15.jpg), but since I've clicked too quickly a second time at the same location of the screen, I've clicked by error on the 'Cancel' button of this new window (while the message window was still displayed!). Result: actually the message window IS NOT modal and I came back to the 'Title' screen with the message displayed! (http://aggelonware.free.fr/mom/ime/screen16.jpg)


Agg.

Modal windows

Posted: Mon May 22, 2006 2:09 am
by Implode
Actually... the Direct3D forms layer I wrote (which MoM IME uses for just about everything!) doesn't support modal windows - you can always click behind the "on top" window and click on controls behind.

Places where this can have a really nasty effect I have to explicitly put code in to prevent it. For example, it won't let you click the Next Turn button if you have certain windows open.

Implode.

Posted: Mon May 22, 2006 9:58 am
by aggelon
I did not thing you re-write all of this, so I have to say you've produced a very good job !!!

I'm going to not notice about modal windows, only if it means a real problem for the user.

OK, forget this post.

Aggelon.