SlickEdit Community

SlickEdit Product Discussion => SlickEditĀ® => Slick-CĀ® Macro Programming => Topic started by: eee on June 13, 2019, 06:36:25 AM

Title: Change application size
Post by: eee on June 13, 2019, 06:36:25 AM
Is it possible to change the size of the Slick application window using a SlickC macro?
This would be the equivalent of dragging the application border(s).
Title: Re: Change application size
Post by: Graeme on June 14, 2019, 12:43:06 AM
In vrestore.slk you'll see something like this at the start.  It might give you some clues.  The file is written and read by the restore.e macro file.  e.g. search slick sources for SCREEN (uppercase).


MONITOR_CONFIGS: 404
MONITOR_CONFIG: 209 0 0 1920 1050,-1600 -120 1600 1200
SCREEN: 1920 1080 -1476 -46 1425 1125 0 0 M 0 0 0 0 1225 1103 0
MDISTATE: 1