ProcessEvent in a ThreadPoolTimer RRS feed

  • Question

  • I'm trying to call dispatcher->ProcessEvents() inside a ThreadPoolTimer but events don't seem to get processed.

    I'm essentially trying to do what is outlined in this article, http://msdn.microsoft.com/en-us/library/windows/apps/hh994934.aspx, at the very end, where it says, "As noted previously, you can also do this with a timer object that you have synchronized to the display device's refresh signal."

    Is there any example code for this?

    Tuesday, April 23, 2013 5:03 AM


  • Most (if not all) of the Windows Store apps with DirectX samples demonstrate using ProcessEvents as described in the article.

    Note that the timer mentioned in the article is not a ThreadPoolTimer but is an on-thread timer used to keep the game running at a known rate.


    • Marked as answer by Jesse Jiang Monday, May 6, 2013 7:18 AM
    Wednesday, April 24, 2013 1:43 AM