Is ther a way to overcome this situation:
Intellicad does not receive focus until the editor was clicked. This was a bit troublesome as it requires an additional mouse click. The way to overcome it was to either call the "SetFocus" Win32 API through a dllimport or to use an internal undocumented method : "Internal.Utils.SetFocusToDwgView".
But seems to be tha Icad doesn't have anyone Focus function ...
Does anybody has an alternative ??
Re: Windows SetFocus
#2something similar to this :
or some code to same operation.
Code: Select all
Autodesk.AutoCAD.ApplicationServices.Application.MainWindow.Focus();