I am developing using .Net at IJCAD 2015.
I want to set the focus to the active document, but I can't find a method that seems to be the case.
AutoCAD 2014 can be implemented in Document.Window.Focus(), but is it not available in IJCAD?
Please let me know if there is any other way.
.net ijcad
The Document.Window.Focus() method is not implemented in IJCAD 2015.However, you can do this with MFC.
Private Declare Function SetFocus Lib "user32.dll" (ByVal hwnd As IntPtr) As IntPtr
After declaring that
SetFocus (Doc. Window.Handle)
You can move the focus to the active document by calling it as shown in .
IJCAD 2016 and later implement the Focus method, so you can set the focus using doc.Window.Focus().
597 GDB gets version error when attempting to debug with the Presense SDK (IDE)
567 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
572 Understanding How to Configure Google API Key
567 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.