This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Forcing an application to minimize


Forcing an application to minimize

Postby BradK3 » Mar 31, 2007 @ 10:48pm

I'm having difficulty finding out how to force my PocketFrog game to minimize. I've searched the forum and haven't really found a good answer (it may be that I'm too dense, I don't know).

My game uses the Game framework. Is there a method I can call that can minimize my game for me or what?

Help?
User avatar
BradK3
pm Member
 
Posts: 19
Joined: May 27, 2003 @ 7:34pm
Location: Clearfield, Utah


Postby fast_rx » Apr 2, 2007 @ 4:32am

I use

ShowWindow( SW_MINIMIZE);

I think you'd want to make sure you use that after finishing up drawing though (i.e. after the ->Update() , but I may be wrong).

Also, you'll want to make sure you're setting the app name so that you can find it in the running programs list. It's also used to make sure that only one instance can run in the WinMain function with FindWindow.


Edit:
Look here for some stuff about restoring
http://www.pocketmatrix.com/forums/view ... showwindow
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron