WindowFromDC The WindowFromDC function returns a handle to the window associated with the specified display device context (DC). Output functions that use the specified device context draw into this window.
VB4-32,5,6
Declare Function WindowFromDC Lib "user32" (ByVal hdc As Long) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hDC
[in] Handle to the device context from which a handle for the associated window is to be retrieved. |
The return value is a handle to the window associated with the specified DC. If no window is associated with the specified DC, the return value is NULL. |
|