O$ getting monitor width
Michael Rowan
mike.rowan at internode.on.net
Wed Apr 29 20:52:58 EDT 2009
Hi Bas
I knew that, of course. Just that I had forgotten I knew.
Yes, dual monitors is a change of life experience.
On my main monitor I can do Mac or Windows via parallels. On the
other I can do extended Mac or Windows via input switching.
Cheers
Mike
On 30/04/2009, at 10:08 AM, Bastiaan Olij wrote:
> 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
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
Michael Rowan
mike.rowan at internode.on.net
11 Kingscote Street
ALBERTON
South Australia 5014
tel 618 8240 3993
More information about the omnisdev-en
mailing list