O$ getting monitor width
Bastiaan Olij
lists at basenlily.nl
Wed Apr 29 20:38:14 EDT 2009
Hey Mike,
$modes.$width and $modes.$height return just that. We use it all the
time to center windows onto the primary display. Live's good with dual
monitors though I hope TigerLogic one day will use these same values. So
often I use my laptop at a client and I do not have the dual monitor
hooked on and all my IDE windows open up off screen :D
Greetz,
Bas
Michael Rowan wrote:
> Hi
>
> In my app I use sys(104) to return the monitor width. However, when I
> use dual monitors this returns the combined width.
>
> How can I get the width of the principal monitor? Cross platform.
>
> TIA
>
>
> Michael Rowan
> mike.rowan at internode.on.net
>
> 11 Kingscote Street
> ALBERTON
> South Australia 5014
>
> tel 618 8240 3993
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
--
Kindest Regards,
Bastiaan Olij
e-mail/MSN: bastiaan at basenlily.nl
web: http://www.basenlily.nl
Skype: Mux213
http://www.linkedin.com/in/bastiaanolij
More information about the omnisdev-en
mailing list