Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Graphics
..msdn
GdipCreateFromHDC
GdipCreateFromHDC2
GdipCreateFromHWND
GdipDeleteGraphics
GdipDrawImageI
GdipDrawImageRectI
GdipDrawImageRectRectI
GdipDrawLineI
GdipDrawPieI
GdipDrawRectangle
GdipFillPieI
GdipFillRectangle
GdipGetDC
GdipGetDpiX
GdipGetDpiY
GdipGetPageScale
GdipGetPageUnit
GdipGetSmoothingMode
GdipReleaseDC
GdipResetWorldTransform
GdipRotateWorldTransform
GdipSetClipRectI
GdipSetPageScale
GdipSetPageUnit
GdipSetSmoothingMode
GdipSetTextRenderingHint
GdipSetWorldTransform
GdipTranslateWorldTransform
Code examples:
Custom GDI+ class
GdipCreateFromHWND
..msdn    Add comment     W32 Constants      Translate this page
Returns handle to the Graphics object associated with the windows handle.
Code examples:
Custom GDI+ class
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-05 16:35:32
Modified: 2004-07-05 16:45:17
Visited in last 7 days: 27
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.226.34.209)
13 sec.Function: 'GdiSetBatchLimit'
28 sec.Function: 'HeapAlloc'
43 sec.Function: 'GetUpdatedClipboardFormats'
55 sec.Function: 'FindNextUrlCacheEntry'
1.15 min.Function: 'MQCloseQueue'
1.38 min.Function: 'GetCapture'
1.58 min.
Function group: 'Handle and Object'
1.82 min.Function: 'EnumPrinters'
2.02 min.Function: 'AVIFileInfo'
2.23 min.Function: 'GdipGetDpiY'
Google
Advertise here!