CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    5

    Splash Screen and Tips of the Days

    Hi,

    i have implemented Splash Screen and Tips of the Days on my MFC programme.
    But Tips of the days window is covered Splash Screen when the program start up.
    How can i solve it? i implemented it by add "components and controls gallery".
    thanks.


  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Splash Screen and Tips of the Days

    How about override OnInitDialog()
    in your splash.cpp and put SetWindowPos(&wndTop,...)
    function?

    Good luck.

    Walter An


  3. #3
    Join Date
    Apr 1999
    Posts
    5

    Re: Splash Screen and Tips of the Days

    Thansk for ur help.
    but my splash.cpp dont have OnInitDialog().
    how can i initialize SetWindowPos


  4. #4
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Splash Screen and Tips of the Days

    Hi!
    Override OnInitDialog() by using
    classwizard. In order to put
    OnInitDialog() in ypour splash.cpp,
    catch WM_INITDIALOG message.

    Good luck.

    Walter An


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