How to mimic the Windows XP Welcome Screen in MFC ?
-
Hi I would like to create a Login Screen that would mimic the Windows XP Welcome Screen. Typically my app would handle many users on a single machine. Therefore the Login screen should show several usernames with edit boxes for their passwords. When a user needs to login, she should be able to navigate through the list of usernames in the Screen just like in the Win XP Welcome Screen and select the required username and enter the password. My que is, how do I animate the controls to mimic the Windows XP Welcome Screen and also what controls should I use ( CWnd / CDialog ) to best achieve this ? thanx , expecting a quick reply. Eraj.
-
Hi I would like to create a Login Screen that would mimic the Windows XP Welcome Screen. Typically my app would handle many users on a single machine. Therefore the Login screen should show several usernames with edit boxes for their passwords. When a user needs to login, she should be able to navigate through the list of usernames in the Screen just like in the Win XP Welcome Screen and select the required username and enter the password. My que is, how do I animate the controls to mimic the Windows XP Welcome Screen and also what controls should I use ( CWnd / CDialog ) to best achieve this ? thanx , expecting a quick reply. Eraj.
There is nothing special about the welcome screen. It is just a full screen window with a few skinned controls. In your case, it may be better to use a CDialog, that way you can run and destroy it before you main window appears. Look on CP for articles about skinning controls. If you want it to be fullscreen, make the dialog topmost, remove all borders, and adjust the size so that it fills the screen.
-
There is nothing special about the welcome screen. It is just a full screen window with a few skinned controls. In your case, it may be better to use a CDialog, that way you can run and destroy it before you main window appears. Look on CP for articles about skinning controls. If you want it to be fullscreen, make the dialog topmost, remove all borders, and adjust the size so that it fills the screen.
No no, my question is not regarding the Welcome Screen itself. But rather the control with the Username and Password field together, which lightens up when not focused, and darkens when in focus. In other words, Im only worried about creating the control for showing the Username and the Password field for each user, that would have a similar look and feel to that of the XP login. I jus want to animate the controls that way. I would hold all these individual Username/Password combo controls in a CDialog. Its jus the animation of the controls Im really worried about and have no clue of !
-
No no, my question is not regarding the Welcome Screen itself. But rather the control with the Username and Password field together, which lightens up when not focused, and darkens when in focus. In other words, Im only worried about creating the control for showing the Username and the Password field for each user, that would have a similar look and feel to that of the XP login. I jus want to animate the controls that way. I would hold all these individual Username/Password combo controls in a CDialog. Its jus the animation of the controls Im really worried about and have no clue of !
Like I said in my last reply, search CP for articles about skinning controls.