locked
How to force an application to background RRS feed

  • Question


  • Hi everybody,

    I would like to know how to force an application to background by using Window Mobile API.

    Could you please help me?

    Thank you,

    Regards,
    Bao Nguyen

    Thursday, August 21, 2008 10:17 AM

Answers

  • Hi Bao Nguyen,

    You can use SetWindowPos() API with setting appropriate values to send your application in background.  

    You can use following values 

    hWndInsertAfter  : HWND_BOTTOM

    and 

    Flags  : SWP_HIDEWINDOW | SWP_NOMOVE |  SWP_NOSIZE
      


    Regards,
    Shashikant Deokar
    Thursday, August 21, 2008 3:52 PM