Author Topic: Save / Reload Current DesignCad Windows status  (Read 481 times)

Juergen

  • Jr. Member
  • **
  • Posts: 94
Save / Reload Current DesignCad Windows status
« on: December 12, 2014, 12:01:04 PM »
Can I save the current windows state of DC (size, position [screen  ;D] ) in order to reload it with the next DC launch?
(Ole or BasicCAD)

Kind regards,

Juergen

prl

  • Hero Member
  • *****
  • Posts: 3389
  • A Bézier Extrusion
Re: Save / Reload Current DesignCad Windows status
« Reply #1 on: December 12, 2014, 12:53:58 PM »
In OLE, use DcApp.Left,  DcAppTop, DcApp.Height, DcApp.Width.  Your OLE can save and then read the values upon reloading DC.

As for the views, you can use BasicCAD's >ViewSave and >ViewRead to save the screen configuration (the tiled windows) to disk.
« Last Edit: December 12, 2014, 12:55:40 PM by prl »

Juergen

  • Jr. Member
  • **
  • Posts: 94
Re: Save / Reload Current DesignCad Windows status
« Reply #2 on: December 13, 2014, 04:49:39 AM »
Quote
In OLE, use DcApp.Left,  DcAppTop, DcApp.Height, DcApp.Width.  Your OLE can save and then read the values upon reloading DC.
Thanks again Prl, this works fine as usual ;)

Kind regards,
Juergen