 |
GdipCreateFromHWND ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Returns handle to the Graphics object associated with the windows handle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipCreateFromHWND(
HWND hwnd,
GpGraphics **graphics
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipCreateFromHWND IN gdiplus;
INTEGER hWindow,;
INTEGER @ graphics
|
 |
 |
 |
| Parameters: |
 |
hwnd
[in] Identifies the window or control.
graphics
[out] Handle to the Graphics object. |
 |
 |
| Return value: |
 |
| Returns GpStatus value, 0 means success. |
 |
 |
| My comment: |
 |
The Graphics class provides methods for drawing lines, curves, figures, images, and text. A Graphics object stores attributes of the display device and attributes of the items to be drawn.
When no longer needed the Graphics object must be deleted with the GdipDeleteGraphics function.
See also: GdipCreateFromHDC, GdipCreateFromHDC2 functions. |
 |
 |
| Word Index links for the GdipCreateFromHWND : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-05 16:35:32 | | Modified: | 2004-07-05 16:45:17 | Visited in last 7 days: 25 |