Win32: How to get window from DC (the reverse of GetDC)
-
11-10-2019 - |
Question
Is there a way to get a window handle to the window owning a win32 DC? Or any other sort of information that might be useful for identifying the window, like DC width and height?
Solution
Coincidentally, there is WindowFromDC.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow