Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1306
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 20
Color 1
Common Dialog Box 12
Console 12
Coordinate Space and Transformation 9
Cryptography Reference 28
Cursor 5
Data Decompression Library 3
Debugging 2
Desktop Window Manager (DWM) 1
Device Context 13
Device Input and Output 1
Dialog Box 6
DNS Functions 1
Dynamic-Link Library 6
Error Handling 10
Event Logging 10
Extensible Storage Engine (ESE, Jet Blue) 23
File Management 49
File Mapping 4
File System 19
Filled Shape 2
Font and Text 13
GDI+ 6
GDI+ Bitmap 10
GDI+ Brush 4
GDI+ Font 9
GDI+ Graphics 28
GDI+ Image 20
GDI+ ImageAttributes 3
GDI+ Matrix 10
GDI+ PathGradient Brush 3
GDI+ Pen 2
GDI+ StringFormat 2
GDI+ Text 2
Handle and Object 4
Hook 2
HTTP Functions (WinHTTP) 12
Icon 7
Internet Functions (WinInet) 49
IP Helper 24
Kernel Transaction Manager 3
Keyboard Input 22
Mailslot 3
Memory Management 26
Menu 18
Message and Message Queue 12
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 8
MSHTML Reference 1
Multilingual User Interface 4
Multiple Display Monitors 2
National Language Support 20
Network Management 34
Painting and Drawing 17
Path 3
Performance Monitoring 12
Pipe 5
PnP Configuration Manager 6
Power Management 6
Printing and Print Spooler 35
Process and Thread 31
Raw Input 4
Region 7
Registry 21
Remote Access Service (RAS) 5
Remote Application Programming (RAPI) 49
Remote Procedure Call (RPC) 7
Resource 10
Security 22
Service 11
Setup API functions 7
Shell Functions 39
Shell Lightweight Utility APIs -- misc. functions 2
Shell Lightweight Utility APIs -- Path Functions 20
Shell Lightweight Utility APIs -- string functions 4
Simple MAPI 9
String 10
Synchronization 13
System Information 23
System Shutdown 5
Terminal Services 10
Time 16
Unicode and Character Set 2
URL Monikers 7
Version Information 2
Virtual Hard Disk (Win7) 4
Window 37
Window Class 8
Window Procedure 3
Window Property 3
Window Station and Desktop 7
Windows Controls 8
Windows Multimedia 76
Windows Networking 18
Windows Sockets 2 (Winsock) 38
GDI+ Graphics            ..msdn    Add comment
GdipCreateFromHDC Returns handle to the Graphics object associated with the device context.
GdipCreateFromHDC2 Returns handle to the Graphics object that is associated with a specified device context and a specified device.

GdipCreateFromHWND Returns handle to the Graphics object associated with the windows handle.
GdipDeleteGraphics Deletes the Graphics object created by GdipCreateFromHWND, GdipCreateFromHDC or GdipCreateFromHDC2 function.
GdipDrawImageI Draws an image at a specified location.
GdipDrawImageRectI Draws an image
GdipDrawImageRectRectI Draws an image optionally using a ImageAttributes object.
GdipDrawLineI Uses a pen to draw a line.
GdipDrawPieI Draws a pie.
GdipDrawRectangle Uses a pen to draw a rectangle.
GdipFillPieI Uses a brush to fill the interior of a pie.
GdipFillRectangle Uses a brush to fill the interior of a rectangle.
GdipGetDC Gets a handle to the device context associated with this Graphics object.
GdipGetDpiX Gets the horizontal resolution, in dots per inch, of the display device associated with this Graphics handle.
GdipGetDpiY Gets the vertical resolution, in dots per inch, of the display device associated with this Graphics handle.
GdipGetPageScale Gets the scaling factor currently set for the page transformation of this Graphics handle.
GdipGetPageUnit Returns an element of the Unit enumeration that indicates the unit of measure currently set for this Graphics handle.
GdipGetSmoothingMode Determines whether smoothing (antialiasing) is applied to the Graphics object.
GdipReleaseDC Releases a device context handle obtained by a previous call to the GdipGetHDC with this Graphics handle.
GdipResetWorldTransform Sets the world transformation matrix of this Graphics object to the identity matrix.
GdipRotateWorldTransform Updates the world transformation matrix of this Graphics object with the product of itself and a rotation matrix.
GdipSetClipRectI Sets the clipping region of this Graphics object by a specified rectangle.
GdipSetPageScale Sets the scaling factor for the page transformation of this Graphics handle.
GdipSetPageUnit Sets the unit of measure for this Graphics handle.
GdipSetSmoothingMode Sets the rendering quality of the Graphics object.
GdipSetTextRenderingHint Sets the text rendering mode of this Graphics object.
GdipSetWorldTransform Sets the world transformation of this Graphics object.
GdipTranslateWorldTransform Updates this Graphics object"s world transformation matrix with the product of itself and a translation matrix.
Code examples:
Custom GDI+ class
GDI+: Color Transparency
GDI+ fun: roach-infested desktop
GDI+: Drawing a Pie Chart
Adding a background image to VFP report (VFP9, ReportListener)
GDI+: Using Scale and Shear transformations
GDI+: Scrolling through large image using the mouse
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.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
11 sec.Function: 'SearchPath'
Function group: 'File Management'
19 sec.Example: 'How to create non-blocking Winsock server'
Language: 'C++'
29 sec.Example: 'Testing serial ports'
40 sec.Function: 'GetUrlCacheEntryInfo'
Function group: 'Internet Functions (WinInet)'
50 sec.Example: 'Reading and setting system access privileges for the current process'
1 min.Function: 'DrawAnimatedRects'
1.17 min.Example: 'Winsock: retrieving the host information corresponding to a network address'
1.32 min.Function: 'MAPISendDocuments'
Function group: 'Simple MAPI'
1.48 min.Example: 'Displaying bitmap using the AlphaBlend function'
1.68 min.Function: 'GetIconInfo'
Advertise here!