|
GetDC The GetDC function retrieves a handle of a display device context (DC) for the client area of the specified window. The display device context can be used in subsequent GDI functions to draw in the client area of the window. VB4-32,5,6 Declare Function GetDC Lib "user32" Alias "GetDC" (ByVal hwnd As Long) As Long |
VB.NET System.Windows.Forms.Form.CreateGraphics.GetHdc |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
· hWnd Identifies the window whose device context is to be retrieved. |
If the function succeeds, the return value identifies the device context for the given window’s client area.
If the function fails, the return value is NULL. |
|
|
|