LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

screen resolution size. How to read it with CVI5.5

In need of beign able to decern between 800x600 and 1024x768 screen size by reading PC.
Looked thru SDK functions of cvi 5.5, it is not apparently obvoius how to read this.
Has anyone tried this before?

cvier
0 Kudos
Message 1 of 3
(2,696 Views)
User32 DLL: GetSystemMetrics( int nIndex )

Width and height, in pixels, of the screen.
SM_CXSCREEN
SM_CYSCREEN
0 Kudos
Message 2 of 3
(2,692 Views)
Tried it, works very good. Much cleaner function than some of the others read in the sdk help.

Thanks,
cvier
0 Kudos
Message 3 of 3
(2,688 Views)