Re: greeting screen by Ravi
Ravi
Thu Sep 30 12:16:26 CDT 2004
Create a normal dialog window with all information you need. On the
InitDialog method (or WM_INITDIALOG event) you must define a timer (using
the SetTimer API or method) with 3 seconds delay (3000 ms). When the timer
event is raised, close the dialog. To do this work, you must use the method
DoModal() of the CDialog class (MFC), or use the macro DialogBox, if not
using MFC. The both methods block execution, which is released only when the
dialog is closed.
A very good solution is to use this welcome screen with a non-blocking
behavior, making any initialization that is needed while the welcome screen
is being displayed. If the program took 5 seconds to initialize, your
welcome screen will be displayed for 5 seconds, but no additional time will
be required only to show this welcome screen.
Good lucj
"pat" <pat@discussions.microsoft.com> wrote in message
news:A254221D-F7E4-4796-8E40-C6592C0E0CEF@microsoft.com...
> Hello,
>
> i developed a smart device application with a login function. Now i want
> to
> develop that after the user presses the login button for approximately 3
> seconds a greeting screen is displayed where personal information of the
> logged in user is displayed and then it is automatically forwarded to the
> main screen.
> Is this possible to develop for a smart device application? if yes can
> anybody give me a short explanation how it works?
>
> thanks in advance
>
> regards
>
> patrick