Submitted by iamfallen on Fri, 05/09/2014 - 03:36
Forums:
Is it possible to get a clicked screen position similar to the attached function without creating a dialog box? I was trying to call a dll from within Blockstyler, but it errors when it gets to this section. The dll works file on its own.
Dim resp As Selection.DialogResponse = Selection.DialogResponse.None
Dim localView As View
resp = theUISession.SelectionManager.SelectScreenPosition(" New Roadmap Location:", _
localView, loc)
If resp <> Selection.DialogResponse.Back And _
resp <> Selection.DialogResponse.Cancel Then
Return Selection.Response.Ok
Else
Return Selection.Response.Cancel
End If
End Function