Jump to content

Recommended Posts

Posted

I apologise in advance for my poor/bad English.

_WinAPI_GetMonitorInfo.htm help online

example()

"second monitor"

no
ConsoleWrite('Rectangle:   ' & DllStructGetData($aData[0], 1) & ', ' & DllStructGetData($aData[0], 2) & ', ' & DllStructGetData($aData[0], 3) & ', ' & DllStructGetData($aData[0], 4) & @CRLF)
yes
ConsoleWrite('Rectangle:   ' & DllStructGetData($aData[0], 1) & ', ' & DllStructGetData($aData[0], 2) & ', ' & DllStructGetData($aData[0], 3)-DllStructGetData($aData[0], 1) & ', ' & DllStructGetData($aData[0], 4)-DllStructGetData($aData[0], 2) & @CRLF)

no
ConsoleWrite('Work area:   ' & DllStructGetData($aData[1], 1) & ', ' & DllStructGetData($aData[1], 2) & ', ' & DllStructGetData($aData[1], 3) & ', ' & DllStructGetData($aData[1], 4) & @CRLF)
yes
ConsoleWrite('Work area:   ' & DllStructGetData($aData[1], 1) & ', ' & DllStructGetData($aData[1], 2) & ', ' & DllStructGetData($aData[1], 3)-DllStructGetData($aData[1], 1) & ', ' & DllStructGetData($aData[1], 4)-DllStructGetData($aData[1], 2) & @CRLF)

What do you think?


 

To community goes all my regards and thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...