ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting drawing and dialog focus

3 REPLIES 3
Reply
Message 1 of 4
jboone
460 Views, 3 Replies

Getting drawing and dialog focus

Is there any way to have a button from my form set focus to autocad for a group selection, short of form minimize, then back to my form after the selection?  Is the best method to minimize the form while the selection is in process?

 

I have a few other options I might could use, but any help would be helpful.

3 REPLIES 3
Message 2 of 4
owenwengerd
in reply to: jboone

Make sure your dialog is derived from CAdUiBaseDialog, then call CAdUiBaseDialog::BeginEditorCommand() to start the user interaction. Call CAdUiBaseDialog::CompleteEditorCommand() or CAdUiBaseDialog::CancelEditorCommand() when the interactive portion is complete.

--
Owen Wengerd
ManuSoft
Message 3 of 4
jboone
in reply to: owenwengerd

would that work in VB?

Message 4 of 4
owenwengerd
in reply to: jboone

No, that is ObjectARX (C++). If you're not using ObjectARX, you should post in the .NET group where someone familiar with the managed API may be able to help.

--
Owen Wengerd
ManuSoft

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost