>Ok, I'm feeling stupid today. I know that read a tip for this some time ago, but I can't seem to find the thread.
>
>The situation is, I have a login screen, which display immediately upon launching the exe. It displays as the top/active window (Show Window = 2 As Top Level), which I want. Upon a successful login, the login window is realesed, and the main window is displayed, which is also set to (Show Window = 2 As Top Level). Problem is, the main window keeps displaying in a non-active window, behind any other windows on the desktop. (VFP 5 / Windows 2000)
>
>I know there's something rediculously simple that I'm missing here.
>
>Thanks for any help.
Procedure MainProgram
Public lAccess
lAccess = .F.
Do Form LoginForm
Read Events
IF lAccess
Do Form MainForm
Read Events
Endif
EndProc
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."