Thread: help on update window in "background"

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    106

    help on update window in "background"

    Hello, I'm working on a simple MAPI application form-based. In the form there's a MSFlexGrid which is updated every time a timer fires a "messages download" request to show newincoming messages. The problem is that when this happen, my MAPI application becomes the active app, so for example if I'm working with another app, when the timer calls MAPI to download messages, the process of download starts and then the application I was using is no more active, and the "focus" passes to the MAPI application (until I select again the application I was using).

    How can I do the download in "backgroud"?

    Thank you for any hint
    BrownB

  2. #2
    Registered User
    Join Date
    Oct 2003
    Posts
    106
    I just foun the solution: when using FlushQueues( ) to download or upload, must use also the FLUSH_NO_UI flag....

    BrownB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  3. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  4. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM