Microsoft SDK for Java

gethdc

This method of the GraphicsX Class retrieves the Win32 display context handle. This is useful when the graphics object is used with a Microsoft® DirectDraw® surface, printer or Microsoft® ActiveX® object (graphics objects created for components do not have consistent HDC values).

Syntax

public int gethdc();

Return Value

Returns the Win32 display context handle.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.