+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Senior Member kruuger's Avatar
    Computer Details
    kruuger's Computer Details
    Operating System:
    Xp 64bit
    Using
    AutoCAD 2010
    Join Date
    Dec 2007
    Location
    Poland
    Posts
    183

    Default How to remember DCL window position?

    Registered forum members do not see this ad.

    hello,

    is there any way to remember DCL window position after closing?
    i only know how to locate DCL on startup.
    Code:
    (new_dialog dlgname dcl_id [action [screen-pt]])
    thanks
    kruuger

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,816

    Default

    Hi Kruuger,

    Check out the return of the done_dialog function
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  3. #3
    Senior Member kruuger's Avatar
    Computer Details
    kruuger's Computer Details
    Operating System:
    Xp 64bit
    Using
    AutoCAD 2010
    Join Date
    Dec 2007
    Location
    Poland
    Posts
    183

    Default

    Quote Originally Posted by Lee Mac View Post
    Hi Kruuger,

    Check out the return of the done_dialog function
    OMG i'm stupid i was thinking that done_dialog returns 0, 1.. etc.
    so we can do something lilke this:
    (setq POS (done_dialog 1)) - save position to registry and then read POS with new_dialog ?

    BTW, Lee your web page is AWESOME ! Really good stuff.

    Thanks
    kruuger

  4. #4
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,816

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by kruuger View Post
    OMG i'm stupid i was thinking that done_dialog returns 0, 1.. etc.
    Don't worry, we've all been there

    Quote Originally Posted by kruuger View Post
    so we can do something lilke this:
    (setq POS (done_dialog 1)) - save position to registry and then read POS with new_dialog ?
    Yup

    Quote Originally Posted by kruuger View Post
    BTW, Lee your web page is AWESOME ! Really good stuff.
    Thanks mate! I'm glad you like it, I had fun making it
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

Similar Threads

  1. Can't Remember How To Fix This...
    By AQucsaiJr in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 5th Mar 2010, 10:15 pm
  2. CUI window won't remember how it last opened
    By T9PMK in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 27th Feb 2009, 03:02 pm
  3. Dialog boxes don't remember position
    By Backlash in forum Autodesk Inventor
    Replies: 10
    Last Post: 6th Jan 2008, 03:36 am
  4. I used to know this, but now I can't remember
    By Galingula in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 20th Apr 2006, 03:58 pm
  5. Getting old! I do not remember
    By RickatSPM in forum AutoCAD Beginners' Area
    Replies: 7
    Last Post: 16th Mar 2005, 04:33 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts