public static IntPtr SetWin32Focus(IntPtr hWnd) { return(W32Util.SetFocus(hWnd)); }
public static IntPtr SetFocusToAcadMainFrame() { return(W32Util.SetFocus(Autodesk.AutoCAD.ApplicationServices.Application.MainWindow.Handle)); }