As i uderstand you have your dialogbox open (modeless) and let the user to
pick some objects.
If the user picks objets you dont need the window to be shown, so you could
hide it
and show it again if the user is ready with picking (pressed return or right
mouse button).
Regards
Rex
schrieb im Newsbeitrag news:5059856@discussion.autodesk.com...
hi In my application I am providing select entities command button on dialog
box.
User will select entities by clicking on select button and on OK button
click i am processing the entities selected by user.
For this i am using acedSSGet selection set API.
When user click on OK command button i want to end the acedSSGet and process
the user selected entities from selection set.
we can end selection using mouse right click. But i want to achive this
programaticaly.
I tried using
keybd_event(VK_RBUTTON, 0, 0, 0); on OnOK command button event.
but with this the acedSSGet is not ending and the select entity command
remain active. and the selection set is empty only.
Please let me know how to do this?
Thanks in advance!
Best regards,
Santosh