|
-
April 12th, 1999, 11:25 AM
#1
Can I refuse focus?
I have a dialog based application in which the main dialog is disabled and invisible. There is one instance in where my application, an OLE Server, will pop up a dialog that is not the main dialog. When the user clicks on OK, focus is sent to my invisible, disabled dialog for the application (its parent).
How can I keep Windows from setting focus on my main dialog? The application icon does not appear in the Alt-Tab task list.
Thanks.
Michael Gombar
[email protected]
-
May 25th, 2000, 12:39 PM
#2
Re: Can I refuse focus?
Obviously, windows sends a message when it gains focus, you could simply put in a statement in that function to lose focus again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|