CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2002
    Location
    Germany
    Posts
    6,205

    How To: Create a Splash Screen for a Non MFC Application?

    Hi All,

    Have a non-MFC _tWinMain application - can someone please tell me how to have it start with a Splash screen?

    Thanks and regards,
    Siddhartha

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244
    Create a window, with no border and no caption, show it, create a timer for closing it, and in its window procedure, handle WM_TIMER, WM_LBUTTONDOWN, and so on... and of course WM_PAINT to draw a bitmap.

    Anyhow, this is more C++ and WinAPI-specific question (that is a "non-MFC" forum) .
    Last edited by ovidiucucu; August 13th, 2004 at 09:24 AM.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  3. #3
    Join Date
    Oct 2002
    Location
    Germany
    Posts
    6,205

  4. #4
    Join Date
    Oct 2002
    Location
    Italy
    Posts
    324
    Eventually create a thread for it, so that it gets repainted correctly if your program startup is very slow...
    Regards,
    Marco Era
    www.marcoera.com

    Latest post on my blog: Back to the Amiga's times

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured