Prevent window caption blinking on activation
Posted on 2003-11-23
I have an icon in system tray.
Double click on that icon fires an event in which I'm using me.show to make the window appear.
But when it appears, its not activated like the caption is grayed out and it blinks 3 times unless I click on it.
AppActivate solves the problem but I can't use it since I have multiple instances of my program running at the same time and they all have same caption while appactivate works on caption title so I want an alternate.
Note: setactivewindow, setforegroundwindow, setdesktopwindow, me.setfocus e.t.c nothing works.