English
Source / code snippets

displays monitors List

 
Andreas Miethe
 $H windows.ph
Var Nums& = 1
CLS
External("User32.dll","EnumDisplayMonitors",~GetDC(0),0,ProcAddr("MonitorProc",4),0)
waitinput
end

Proc MonitorProc

    parameters hMonitor&,hdcMonitor&,lprcMonitor&,dwData&
    Print "Monitor : "+Str $(Nums&)
    Print Long(lprcMonitor&,0)
    Print Long(lprcMonitor&,4)
    Print Long(lprcMonitor&,8)
    Print Long(lprcMonitor&,12)
    Print
    Inc Nums&
    ENDPROC$H windows.ph
    Var Nums& = 1
    CLS
    External("User32.dll","EnumDisplayMonitors",~GetDC(0),0,ProcAddr("MonitorProc",4),0)
    waitinput
    end

    Proc MonitorProc

        parameters hMonitor&,hdcMonitor&,lprcMonitor&,dwData&
        Print "Monitor : "+Str $(Nums&)
        Print Long(lprcMonitor&,0)
        Print Long(lprcMonitor&,4)
        Print Long(lprcMonitor&,8)
        Print Long(lprcMonitor&,12)
        Print
        Inc Nums&

    ENDPROC

 
03/16/16  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.074 Views

Untitledvor 0 min.
p.specht11/18/21
RudiB.11/18/21
Wilfried Friebe11/17/21
Jürgen Strahl11/17/21
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie