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
GdipReleaseDC
GdipResetWorldTransform
GdipRotateWorldTransform
GdipSetClipRectI
GdipSetPageScale
GdipSetPageUnit
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: 21
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.67.55)
6.58 min.Example: 'Using the GetLogicalDriveStrings'
6.63 min.Function: 'waveInClose'
Function group: 'Windows Multimedia'
6.85 hrs.Function: 'CoTaskMemFree'
Function group: 'COM'
15.94 hrs.Function: 'SQLFreeHandle'
 Example: 'How to obtain the number of rows affected by remote UPDATE, INSERT or DELETE statement'
19.4 hrs.Example: 'Current keyboard type'
19.97 hrs.Function: 'InternetTimeToSystemTime'
Function group: 'Internet Functions (WinInet)'
21.47 hrs.Examples
 Function: 'waveInGetNumDevs'
 Example: 'Testing an ODBC connection for supporting specific functionality'
Google
Advertise here!