S
Shane
How do you keep a form on top of an application only.
I know that I can use "TopMost" to keep a form on top of the other
forms, but that solution is Windows scope instead of only my
application scope.
I have a floating "Totals" screen (among others) so that a user can
see which checks will print, total receipts, and other items. They can
resize the form, and move it anywhere on the screen, so creating a
dock area on the screen is not an option.
If my program loses focus, the "Totals" form stays on the screen.
Obviously, that's a bit of a problem when the user goes into Outlook
or something.
If there is no command to make a "Topmost" only applicable to a single
program instead of system wide, is there a way to tell when my
application loses focus? I could check an event and hide any floating
forms.
Thanks.
I know that I can use "TopMost" to keep a form on top of the other
forms, but that solution is Windows scope instead of only my
application scope.
I have a floating "Totals" screen (among others) so that a user can
see which checks will print, total receipts, and other items. They can
resize the form, and move it anywhere on the screen, so creating a
dock area on the screen is not an option.
If my program loses focus, the "Totals" form stays on the screen.
Obviously, that's a bit of a problem when the user goes into Outlook
or something.
If there is no command to make a "Topmost" only applicable to a single
program instead of system wide, is there a way to tell when my
application loses focus? I could check an event and hide any floating
forms.
Thanks.