Author Topic: Change application size  (Read 132 times)

eee

  • Community Member
  • Posts: 33
  • Hero Points: 2
Change application size
« 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).

Graeme

  • Senior Community Member
  • Posts: 2298
  • Hero Points: 301
Re: Change application size
« Reply #1 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