08-11-2007, 02:48 PM
i think the code is right, but 'MONITORINFO mi' always returns 0.
do you have an idea why ?
do you have an idea why ?
|
GetMonitorInfo
|
|
08-11-2007, 02:48 PM
i think the code is right, but 'MONITORINFO mi' always returns 0.
do you have an idea why ?
08-11-2007, 03:20 PM
If a type has cbSize member, it always must be set before passing the variable to a function.
MONITORINFO mi.cbSize=sizeof(mi)
08-11-2007, 04:04 PM
every day a few more lessons to learn
![]() thanks! |
|
« Next Oldest | Next Newest »
|