deal051298
asked on
Form on top but ignores events?
This is a followup to my question "Pop up dialog in system tray"
Basically I have created an app that pops up a form occasionally when an event occurs. It's all well and good except I notice that when it does this it takes focus away from the current window (e.g. Microsoft Word) so when I'm typing Word will lose my keystrokes until I reselect the application.
Is there anyway to get the form to display above all applications but not take the focus away from the current application?
Cheers
Basically I have created an app that pops up a form occasionally when an event occurs. It's all well and good except I notice that when it does this it takes focus away from the current window (e.g. Microsoft Word) so when I'm typing Word will lose my keystrokes until I reselect the application.
Is there anyway to get the form to display above all applications but not take the focus away from the current application?
Cheers
ASKER
Errr. The application that loses the focus to my popup could be *any* application. I want my form to popup above all apps but not actually take the focus. I want it to cause as little distubance to the user as possible while still making sure it is seen. Same functionality as popups that appear by MSN Messenger.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found this open question Wildi so the points are use - can't remeber if it worked or not
Try using
AppActivate "Microsoft Word"
Hope this helps...