O.P. RE: [VB6] vbModeless?
Hi,
I discovered an odd behaviour when using this method to show a modeless form. Whenever you use the form (writing some text into a textbox, clicking a button etc.), the form does not appear to be activated, if you look at the taskbar!
What i mean is, the form's window in the taskbar will not get highlighted as the 'active' window, when it is indeed in the foreground. The highlight will remain at the last activated app, no matter how hard you click or drag the new vb form. The only way to get it highlighted is to actually click on the form window in the taskbar.
This normally wouldn't be a problem, but right now I'm using FlashWindowEx to flash the form taskbar window on some event and will continue to flash until user activates the form (dwFlags = FLASHW_TRAY | FLASHW_TIMERNOFG). But the form flashing will NOT stop even after I click on the vb form and start interacting with it, simple because somehow Windows thinks it is still not the active app.
Any ideas?
|