|
-
Jan 5th, 2004, 05:30 AM
#1
SaveFileDialog
In my console app, when I call a SaveFileDialog, it appears underneath the console window. Sometimes completely obscuring the dialog, and so it seems like the app has hung when really, the focus is ona hidden window.
How can I make sure the dialog comes to the top of the Z-Order?
I don't live here any more.
-
Jan 5th, 2004, 01:12 PM
#2
Sleep mode
Try this :
Code:
SendKeys.SendWait("%(TAB)");
-
Jan 6th, 2004, 03:50 AM
#3
Is that guaranteed to bring up the right window though? Seems that the Alt Tab dialog tends to shuffle programs around depending on which one had focus last.
Seems a little bit loose to me at the moment.
Many thanks.
I don't live here any more.
-
Jan 6th, 2004, 12:49 PM
#4
Sleep mode
I don't know if that will work or not but i suppose it's just a solution . Another option is to minimize the console window and after the user clicks save button restore it's state back to normal , I believe with some API Functions .
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
|