AutoCAD application can be maximized or minimized through automation by utilizing the ‘WindowState’ property of the Application object as shown in the following sample code:
‘To minimize the application
Application.WindowState = acMin
‘To maximize the application
Application.WindowState = acMax
‘The window is normal (neither minimized nor maximized).
Application.WindowState = acNorm

Leave a Reply