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

Minimize acting strange


Minimize acting strange

Postby levy » Nov 8, 2004 @ 10:38pm

levy
 


Postby Guest » Nov 9, 2004 @ 9:37pm

Guest
 


Postby Johan » Nov 10, 2004 @ 9:19am

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Guest » Nov 11, 2004 @ 9:23pm

Thanks for replying - I carefully traced through the message loop and found the problem.

If anyone cares:
When the GetOpenFileName function is called, Minimize() is called which sets m_bAppShouldMinimize = TRUE, but then theres a wait for GetOpenFileName to finish(press cancel or select a file) which causes the WM_USER_MINIMIZE message to not be posted until after the open file dialog is closed. So all I do now is set m_bAppShouldMinimize = FALSE after GetOpenFileName.

If anyone is still listening - my real problem however are shell windows which create a new process and then run on their own. Since the minimize button doesn't have a message I never know when the shell window is closed and cannot tell my application to begin drawing again. I was told to try subclassing the taskbar and find when the minimize button rectangle is hit - but I can't get it to be subclassed........

I attached a small (9kB) windows ce 4.0 project which just sets up a basic window and tries to subclass the taskbar that if anyone would look at I would be quite grateful as I'm very stuck at this point.
Attachments
SubClassTheTaskBar.zip
(9.1 KiB) Downloaded 455 times
Guest
 


Postby Guest » Nov 12, 2004 @ 7:18pm

Guest
 


Postby Guest » Dec 9, 2004 @ 8:59pm

Guest
 


Postby Guest » Dec 13, 2004 @ 10:16pm

Guest
 


Postby Kzinti » Dec 13, 2004 @ 10:25pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Guest » Dec 14, 2004 @ 12:07am

Guest
 


Postby Kzinti » Dec 14, 2004 @ 12:48am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Guest » Dec 14, 2004 @ 1:09am

Guest
 


Postby Kzinti » Dec 14, 2004 @ 1:24am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Guest » Dec 14, 2004 @ 1:52am

Guest
 


Postby Guest » Dec 14, 2004 @ 4:19am

Guest
 


Postby Kzinti » Dec 14, 2004 @ 5:46am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Next

Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

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