Re: Single instance app works - still feels a bit like a hack though...
Late update...
I just happened to notice that flashing the task bar button respectively window caption actually is the intended and documented behavior of Form::Activate() in case the calling application isn't the active one:
Originally Posted by
MSDN
Activating a form brings it to the front if this is the active application, or it flashes the window caption if this is not the active application. [...]
So now the question is: Is there any (preferably "official") way for an application to activate itself? At least I didn't find one in either the System::Windows::Forms::Application or System::Environment (rather less likely) class.
Last edited by Eri523; July 28th, 2011 at 05:49 PM.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.