VFP - Detect Multiple Monitors The Bereznikers

advertisement
8/27/2014
Detect Multiple Monitors | The Bereznikers
Home
Home
Visual Foxpro
Pages
SQL
Java
C
Office
Windows
Search
Visual Foxpro
Tags
code foxpro html
sergey sql tsql
vfp vfp8 vfp9 winapi
mssql
wsh
more tags
Detect Multiple Monitors
Submitted by Sergey on January 1, 2008 - 20:00
code
display
foxpro
monitor
sergey
vfp
winapi
The GetSystemMetrics WIN API can be used to get the number of
monitors. Some other constants related to multi-monitor PC
configurations are also included.
Recent posts
This is sample code. Add error handling and adjust to your
requirements as necessary.
One problem, one
weekend, eight
languages
How to retrive Outlook
default signature
How to completely
uninstall VFP 9.0
Retrieving VFP runtime
DLL name required by
EXE or DLL
Send email via MSN
email account
Send email via Yahoo
mail account
#DEFINE SM_XVIRTUALSCREEN 76
#DEFINE SM_YVIRTUALSCREEN 77
#DEFINE SM_CXVIRTUALSCREEN 78
#DEFINE SM_CYVIRTUALSCREEN 79
#DEFINE SM_CMONITORS 80
DECLARE Long GetSystemMetrics IN user32 Long nIndex
lnNonitors = GetSystemMetrics(SM_CMONITORS)
? lnNonitors
Doug Hennig posted nice Multiple Monitor Class that handles multiple
monitors.
Sergey's blog
Remove Structural CDX
or Memo flag from a
table
Deleting pages from PDF
file through Acrobat
automation
Post new comment
GDIPLUS.DLL security
updates for VFP 8.0 and
VFP 9.0
Your name:
Powershell - Benchmark
Command
E-mail:
more
Recent comments
For 16-digit dates I had
to do this
3 days 11 hours ago
this was the solution!
3 weeks 3 days ago
3969 reads
Anonymous
The conte nt of this fie ld is k e pt private and will not be shown publicly.
Homepage:
Subject:
Comment: *
html5 solution
3 weeks 5 days ago
Putting CDO2000 emails
into Gmail's Draft box?
5 weeks 4 days ago
Write emails to Gmail's
Draft box/folder?
5 weeks 4 days ago
Format the cell as Date.
6 weeks 2 hours ago
Try DATE(1970,1,1)
http://www.berezniker.com/content/pages/visual-foxpro/detect-multiple-monitors
1/2
8/27/2014
Detect Multiple Monitors | The Bereznikers
instead of
6 weeks 6 hours ago
Returns a number
8 weeks 3 days ago
Thanks for your
assistance
10 weeks 4 days ago
Very Timely
12 weeks 44 min ago
Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li>
<dl> <dt> <dd>
Donate
You can enable syntax highlighting of source code with the following tags:
<code>, <blockcode>, <java>, <powershell>, <tsql>, <visualfoxpro>.
The supported tag
styles are: <foo>, [foo].
Lines and paragraphs break automatically.
Web page addresses and e-mail addresses turn into links automatically.
More information about formatting options
By submitting this form, you accept the Mollom privacy policy.
Preview
http://www.berezniker.com/content/pages/visual-foxpro/detect-multiple-monitors
2/2
Download