|
|
|
|
SysGetDC (Function) In french: SysRécupèreDC Retrieves the DC (Device Context) of a window, control or screen. This DC can be used to handle the window, the control, ... with the Windows APIs (especially the drawing functions of the Windows API). Remark: If SysGetDC has already been called and if the previous DC was not freed by SysReleaseDC, the former DC is automatically freed by SysGetDC. // Retrieve the DC of the "Microsoft Word - Sales 2000.DOC" window ResHandle = SysWinHandle("Microsoft Word - Sales 2000.DOC") ResGetDC = SysGetDC(ResHandle)
Syntax
<Result> = SysGetDC(<Handle>)
<Result>: Integer - DC of the window, control or screen,
- 0 if an error occurred.
<Handle>: Integer - Handle of the window or control to use.
- 0 to retrieve the DC of the screen.
Remarks The window handle is returned: The handle of a control is returned by Handle.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|