11 December 2012, 15:38 | #1 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
WinUAE doesn't pause when user clicks Show Desktop button
With pause when minimised enabled and emulation running, clicking the Show Desktop button on the Windows taskbar minimises all open windows. But WinUAE does not pause when it is minimised in that way.
|
11 December 2012, 16:57 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Show desktop does not appear to do same thing as minimize. At least regular WM_ACTIVATE message is not sent. I am not sure what it does..
|
11 December 2012, 17:24 | #3 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
This page mentions WM_SIZE message with wParam == SC_MINIMIZE. And this other page mentions "Windows sends the WM_SIZE message to the window with wParam = SIZE_MINIMIZED". There's also WM_SHOWWINDOW. Hmm, Windows seems to have hundreds of different messages all for nearly the same thing!
|
11 December 2012, 18:01 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Ok, another change for later time.
|
24 December 2012, 09:55 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
WM_SIZE and wParam == SIZE_MINIMIZED works but neither WM_SIZE or WM_ACTIVATE message arrives when desktop is restored so emulator stays in paused state. I guess third message is needed
(and yes, there are too many messages that appears to do the same thing but have some minor and important differences..) |
24 December 2012, 14:36 | #6 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
What about WM_WINDOWPOSCHANGED???
|
24 December 2012, 16:26 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
WM_WINDOWPOSCHANGED appears to work. I think..
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A1200 doesn´t show any pic... | Joe Maroni | support.Hardware | 12 | 16 October 2012 09:47 |
Report User button in the profile? (for non-spammy SPAM bots) | lilalurl | project.EAB | 7 | 09 July 2011 12:46 |
New WinUAE Desktop :D | Kitty | Amiga scene | 29 | 12 April 2010 08:56 |
Killing Game Show 2nd button support | Bamiga2002 | project.WHDLoad | 0 | 23 January 2008 16:06 |
WinUAE doesn't detect joystick button (via ppjoy) | oldpx | support.WinUAE | 16 | 15 July 2004 22:42 |
|
|