Reputation: 5256
I have a .NET application (C#, WinForms) application running on Windows XP. If i minimize my application, and have several other windows minimized to the taskbar, and click on my application (in the taskbar) then often i see the taskbar "icon" blink but my application fails to "restore" its window. Any suggestions to what might cause this? Any hints on how to check if my application is not getting an event from the mouse-click.
UPDATE: Could anybody give an example of, how to output any incoming events to an application. Something that allows me to e.g. print the received events using Console.Writeline() to see, if my application gets an event when I click on the taskbar?
Upvotes: 0
Views: 1258
Reputation: 8007
http://www.catch22.net/software/winspy-17
I venture to guess that your app will become in focus.
Upvotes: 1
Reputation: 1245
You dont handle maximising and minimising to and from the taskbar in your app. That is to say you dont have to. Windows deals with this and so this would appear to be in no way related to your app not handling an event, rather Windows doing something (or not doing something).
Upvotes: 0
Reputation: 5610
AFAIK this should not have anything to do with your application. Is there any other application running which always remains on top?
Upvotes: 0