Win32: How to get window from DC (the reverse of GetDC)
-
11-10-2019 - |
سؤال
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?
المحلول
Coincidentally, there is WindowFromDC.
لا تنتمي إلى StackOverflow