N
N
NQUARE2020-11-29 14:59:58
API
NQUARE, 2020-11-29 14:59:58

How can I get the screen size in pixels C++ WinAPI?

Good afternoon.
There was a need to get the screen size in pixels.
Can you please tell me how can I do this with C++ WinAPI?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2020-11-29
@NQUARE

https://docs.microsoft.com/en-us/windows/win32/api...
SM_CXSCREEN for width and SM_CYSCREEN for height
https://stackoverflow.com/questions/4631292/how-de...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question