Results 1 to 4 of 4

Thread: SaveFileDialog

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    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.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Try this :
    Code:
    SendKeys.SendWait("%(TAB)");

  3. #3

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    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.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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
  •  



Click Here to Expand Forum to Full Width