Lew Schwartz wrote on 2010-04-20: 
> I think the list has addressed this before, but I don't recall the
> answer. At work, my setup includes three monitors acting as a single
> desktop. You can imagine that the .left values for some of my forms
> are quite large. When I run forms at home, on a single screened
> laptop, the forms that "remember" their last desktop position become,
> in effect, invisible.
> Is there a way to know the max desktop width so I can write some code
> to handle this conditionally?
> 

Lew,

#DEFINE SM_CMONITORS 80   
DECLARE INTEGER GetSystemMetrics IN user32 INTEGER nIndex   
If GetSystemMetrics(SM_CMONITORS) = 1   
        *-- only one monitor, remotely connected
        & SysMetric() will give you the size of the display
EndIf



Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000e01cae0bd$2771a340$7654e9...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to