|
-
Feb 17th, 2004, 07:09 AM
#1
Thread Starter
New Member
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
-
Feb 21st, 2004, 12:08 AM
#2
Lively Member
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
-
Feb 23rd, 2004, 07:29 AM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|