Results 1 to 3 of 3

Thread: modal dialog

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Posts
    7

    modal dialog

    Can I create a dialog which is not modal?

    that is, a dialog, that allows me to have focus on the application I'm using (AutoCad, in this case) while it 's "alive" ?


    how?


    thanks

  2. #2
    Lively Member Daniel McCool's Avatar
    Join Date
    Oct 2002
    Posts
    127
    What do you mean by 'alive'? How exactly is this dialog launched? Two applications can't have focus at the same time, if that's what you're asking. You could just have the dialog set to be "Always on Top", that way you can work in autocad and still see the dialog.
    "Some love is fire, some love is rust. But the finest, cleanest love is lust." - James Bond

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Posts
    7
    well.. The thing is...

    If I show a dialog let say a do something like:

    MyForm.Show();

    Then I can't work with the Autocad app. until I do:

    MyForm.Hide()

    For instance, I want to select a point from the autocad screen... for that purpose I have to do:

    MyForm.Show()
    ....
    onClickSelectPoint(){
    MyForm.Hide()
    point = getPoint()
    MyForm.Show()
    doSomethingWith(point)
    }
    ......
    onCancel(){
    MyForm.Hide()
    }
    ....

    And I want to avoid doing MyForm.Hide() - MyForm.Show()

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