PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Minimize the application

I tried to use SetWindowPos to minimize my pocket pc app., but I didn't get it to work. Does anyone know how to minimize the application?

Thanks.
Pejo Software - Per · 17 Aug 2003, 19:28 UTC
You could try:
::ShowWindow(hWnd, SW_MINIMIZE)
or just setting focus to something else.
You also try just hiding it (SW_HIDE).

Dan East
I tried both SW_MINIMIZE and SW_HIDE. It doesn't work.
Download GapiDraw and checkout CGapiApplication.cpp for details on how to do it.