Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to mimic the Windows XP Welcome Screen in MFC ?

How to mimic the Windows XP Welcome Screen in MFC ?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++tutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    erajsri
    wrote on last edited by
    #1

    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.

    W 1 Reply Last reply
    0
    • E erajsri

      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.

      W Offline
      W Offline
      Waldermort
      wrote on last edited by
      #2

      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.

      E 1 Reply Last reply
      0
      • W Waldermort

        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.

        E Offline
        E Offline
        erajsri
        wrote on last edited by
        #3

        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 !

        W 1 Reply Last reply
        0
        • E erajsri

          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 !

          W Offline
          W Offline
          Waldermort
          wrote on last edited by
          #4

          Like I said in my last reply, search CP for articles about skinning controls.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups