Replies: 1 comment
-
Never mind. It was my fault. I was messing around in a WinEventHook (for EVENT_SYSTEM_FOREGROUND) simulating a mouse click to get rid of the busy mouse pointer (which I was seeing way too often). I got rid of the hook and SW_MINIMIZE works as expected. If the busy pointer bugs me again, I'll reinstate the hook and do some work on its hook process. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I
ShowWindow(g.hWndCascadia, SW_MINIMIZE);
it only works about half the time. The rest of the time it minimizes only momentarily and it is immediately restored.SW_SHOWMINIMIZED and SW_SHOWMINNOACTIVE work every time but don't activate the next window in the Z-order.
... any idea what's happening (and how to work around it)?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions