Group: Painting and Drawing - Library: user32
Transparent Menu Class (requires VFP9)
HWND WindowFromDC(
HDC hDC // handle to device context
); DECLARE INTEGER WindowFromDC IN user32;
INTEGER hDC hDC [in] Handle to the device context from which a handle to 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.
Home