Re: Example of using getDesktopWindow and GetWindowRect #chat

Andreas Sedlmeier

What do you plan to do with these values , mirnabusic82 ?

GetSystemMetrics() resp. the whole "get screen resolution" thing is a bit problematic. There's possibly multiple monitors and there's possibly high resolution devices and DPI scaling - in which case GetSystemMetrics would return a wrong result resp. one which needs to be scaled. 

If that's relevant you have to do a bit more.


Join to automatically receive all group messages.