A
Andy Pollak
Hi!
I want to create a small log in window for my application,
the same way Windows 2000 or similar programs do. It
should show immediately after the main form has been
loaded and displayed, i.e. the main form and the (modal)
log in form should be visible at the same time.
The problem is: How and where can I load the (modal) log
in form?
Using the Activated, Load, and Enter events of the main
form did not help, because the are called before (!) the
main form is displayed on the screen. Overriding WndProc
to catch the WM_SHOWWINDOW message produced the same
result.
Any idea would be greatly appreciated.
Many thanks in advance!
Best regards
Andy
I want to create a small log in window for my application,
the same way Windows 2000 or similar programs do. It
should show immediately after the main form has been
loaded and displayed, i.e. the main form and the (modal)
log in form should be visible at the same time.
The problem is: How and where can I load the (modal) log
in form?
Using the Activated, Load, and Enter events of the main
form did not help, because the are called before (!) the
main form is displayed on the screen. Overriding WndProc
to catch the WM_SHOWWINDOW message produced the same
result.
Any idea would be greatly appreciated.
Many thanks in advance!
Best regards
Andy