 |
GetDC Add comment W32 Constants Translate this page |
 |
 |
|
The GetDC function retrieves a handle of a display device context (DC) for the client area of the specified window |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HDC GetDC(
HWND hWnd // handle of window
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetDC IN user32 INTEGER hwnd
|
 |
 |
 |
| Parameters: |
 |
hWnd
Identifies the window whose device context is to be retrieved |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value identifies the device context for the given window"s client area |
 |
 |
| Usage: |
 |
hWindow = _screen.HWnd
hDC = GetDC(hWindow)
? hDC
= ReleaseDC(hWindow, hDC)
|
 |
 |
| My comment: |
 |

See also: GetWindowDC, WindowFromDC
|
 |
 |
| Word Index links for the GetDC : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2009-02-18 08:53:41 | Visited in last 7 days: 124 |