 |
GetWindowDC ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HDC GetWindowDC(
HWND hWnd // handle of window
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetWindowDC IN user32;
INTEGER hwnd
|
 |
 |
 |
| Parameters: |
 |
hWnd
Identifies the window with a device context that is to be retrieved |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the handle of a device context for the specified window |
 |
 |
| Usage: |
 |
hWindow = _screen.HWnd
hDC = GetWindowDC(hWindow)
? hDC
= ReleaseDC(hWindow, hDC)
|
 |
 |
| My comment: |
 |

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