Groups | Blog | Home
all groups > dotnet compact framework > may 2006 >

dotnet compact framework : Login screen again


Markus Humm
5/31/2006 9:18:26 PM
Hello,

I've changed my program a bit now. The login screen gets closed properly
now I think but I've another serious issue: the main screen which should
be shown afterwards is put into the background. One has to activate it
via memory/running programs -> activate. Very annoying.

My program is like this:

In the main I do

Application.run(TLoginScreen.Create);

if loginok then Application.run(TMainScreen.Create);

and in the on click of the login screen's login button I set loginok
which is a global boolean flag.

How to bring the main form into the foreground? I think run is a
blocking call and one needs to have the main form run otherwise no
message queue for the program will exist, am I right on that?

Greetings

Marcantonio
6/1/2006 2:45:57 AM
[quoted text, click to view]

Markus,

is the MinimizeBox property of the login form set to True? Are you maybe
hiding you application?

AddThis Social Bookmark Button