|
|
|
|
|
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 or the control with Windows API (especially the drawing functions of the Windows API). Note: If SysGetDC has already been called and the previous DC has not been released by SysReleaseDC, SysGetDC automatically releases the previous DC.
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 occurs.
<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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|