dialog box position

Discussion in 'AutoCAD' started by BOBQ, Aug 11, 2004.

  1. BOBQ

    BOBQ Guest

    I am trying to controll the start postion of some dialog boxes, i.e. start
    them all the way pushed to
    one side of the drawing. I figured out how to pass a point to the start
    dialog function, but on
    different size screens, if I specify a point to far over, the dialog pops up
    in the middle again.
    Does anyone know how I can determine the maximum size of screen and dialog
    and how to calculate
    the max position in any one direction? Thanks a million, this one is kicking
    my ***.!! :)
     
    BOBQ, Aug 11, 2004
    #1
  2. Check out the SCREENSIZE system variable.
     
    Allen Johnson, Aug 12, 2004
    #2
  3. BOBQ

    GaryDF Guest

    I make the dialog box position user justified by having the user position the
    dialog box on the screen. That position is saved to the registry whenever the
    action_tile for "exit" or "accept" is used. The next time that dialog box is
    opened, the position is read from the last registry entry. The registry entry
    changes depending on where the last position of the dialog box was, and if the
    user repositioned it.


    Gary
     
    GaryDF, Aug 12, 2004
    #3
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.