News:

Please note new Forum URL: forum.designcad.com

Main Menu

Activate Main window view

Started by RDBarthel, October 04, 2025, 12:05:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RDBarthel

I want my macro to activate the view window named "Main".  If I have just invoked the Window:DesignCAD Tile function I know it's window 1 and I can call up that window by number, SYS(71)=1.  However, after I've messed around with the tiling the Main window might not be window 1.  How can I now get to window Main, by name?

dcadRob

Cycle through all the window numbers.
Make each in turn the current window.
Read the current window name.
Stop when you find window "main" and REGEN the screen


SYS(210) is the number of view windows
SYS$(90) is the name of the current view window

Rob S

User since forever