Message 1 of 3
Setting focus to acadapplication
Not applicable
03-06-2003
02:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a stand alone vb app that prompt the user to select some objects
after a button is clicked. This happens in a few steps. The first time the
button is clicked and AutoCAD is waiting for the user to select the objects,
the form immediately hides, however AutoCAD does not necessarily get focus.
I have to click on the AutoCAD window once in order for the focus to be set
to the AutoCAD.Application. Once there, I can select my objects and
everything works as intended. Once the focus has been set the first time,
any subsequent clicks on the button to select objects returns to the AutoCAD
window already with focus.
My question is how can I make sure that the AutoCAD application has the
focus once my form is hidden after the command button is clicked?
Thank you for your input.
after a button is clicked. This happens in a few steps. The first time the
button is clicked and AutoCAD is waiting for the user to select the objects,
the form immediately hides, however AutoCAD does not necessarily get focus.
I have to click on the AutoCAD window once in order for the focus to be set
to the AutoCAD.Application. Once there, I can select my objects and
everything works as intended. Once the focus has been set the first time,
any subsequent clicks on the button to select objects returns to the AutoCAD
window already with focus.
My question is how can I make sure that the AutoCAD application has the
focus once my form is hidden after the command button is clicked?
Thank you for your input.