|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
WindowFromDC
The WindowFromDC function returns the handle of the window associated with the given display
device context (DC). Output functions that use the given device context draw
into this window.
HWND WindowFromDC(
HDC hDC
| // handle of window
| );
|
|
Parameters
hDC
Identifies the device context from which a handle for the associated window is
to be retrieved.
Return Values
If the function succeeds, the return value is the handle of the window
associated with the given display device context.
If the function fails, the return value is NULL.
See Also
GetDC, GetDCEx, GetWindowDC
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|