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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Splash screen stays more than programmed timer value

Splash screen stays more than programmed timer value

Scheduled Pinned Locked Moved C / C++ / MFC
hardwarehelptutorialquestion
2 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.
  • S Offline
    S Offline
    sthalasayanam
    wrote on last edited by
    #1

    Hi, I have developed a multithread application, which will communicate with an embedded system. At startup the application should display splash screen for 5 seconds and display the application window. The problem is the display period of splash screen is more than one minute. When I monitored the messages using SPY tool I could see, other messages kept posting to the application window, whereas splash timer message got posted last. Can anyone tell me why it is happening and how to get rid of the problem? NSS

    N 1 Reply Last reply
    0
    • S sthalasayanam

      Hi, I have developed a multithread application, which will communicate with an embedded system. At startup the application should display splash screen for 5 seconds and display the application window. The problem is the display period of splash screen is more than one minute. When I monitored the messages using SPY tool I could see, other messages kept posting to the application window, whereas splash timer message got posted last. Can anyone tell me why it is happening and how to get rid of the problem? NSS

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      sthalasayanam wrote:

      Can anyone tell me why it is happening and how to get rid of the problem?

      From MSDN: The WM_TIMER message is a low-priority message. The GetMessage and PeekMessage functions post this message only when no other higher-priority messages are in the thread's message queue.


      Nibu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com

      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