window state

Discussion in 'AutoCAD' started by mark, Feb 27, 2004.

  1. mark

    mark Guest

    hello all

    is therea way in vlisp to
    maximize the AutoCAD window
    on the desktop and maximize
    the current doc inside that window.

    TIA
    mark
     
    mark, Feb 27, 2004
    #1
  2. I wonder what this function is supposed to do?

    vla-put-maxautocadwindow

    Nothing as far as I can tell.
     
    Jason Piercey, Feb 27, 2004
    #2
  3. mark

    BillZ Guest

    (vlax-put-property (vlax-get-acad-object) "WindowState" 3)

    Will do the acad window


    Bill
     
    BillZ, Feb 27, 2004
    #3
  4. mark

    BillZ Guest

    I learned something new here too.

    Command: (vlax-put-property (vla-get-activedocument (vlax-get-acad-object))
    "WindowState" 3)

    Does the drawing window.

    Bill
     
    BillZ, Feb 27, 2004
    #4
  5. mark

    mataeux Guest

    note

    the autocad window can be 'sized' bigger than if it is 'maximized'

    you could 'restore' the window and 'size' it,
    then position it so the borders are off the screen,
    which reduces 'crosshair snag' at the edges
     
    mataeux, Feb 27, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.