Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1278
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 15
Color 1
COM 6
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
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 6
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 8
MSHTML Reference 1
Multiple Display Monitors 2
National Language Support 11
Network Management 34
ODBC API 30
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 37
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 36
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
Device Context            ..msdn    Add comment
ChangeDisplaySettings The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode.
CreateCompatibleDC Creates a memory device context (DC) compatible with the specified device.
CreateDC The CreateDC function creates a device context (DC) for a device using the specified name.
DeleteDC Deletes the specified device context (DC).
DeleteObject Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.
EnumDisplayDevices The EnumDisplayDevices function lets you obtain information about the display devices in a system.
EnumDisplaySettings The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function.
GetDC The GetDC function retrieves a handle of a display device context (DC) for the client area of the specified window
GetDeviceCaps The GetDeviceCaps function retrieves device-specific information for the specified device.
GetObject The GetObject function retrieves information for the specified graphics object.
GetObjectType The GetObjectType retrieves the type of the specified object.
ReleaseDC The ReleaseDC function releases a device context (DC), freeing it for use by other applications. For memory device contexts use the DeleteDC function.
SelectObject Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
Code examples:
How to change display settings: screen resolution, screen refresh rate
How to convert a bitmap file to monochrome format (1 bpp)
Converting image file to .ICO file
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
How to make a VFP form fading out when released (GDI version)
How to copy the image of a form to the Clipboard using Bitmap API functions
How to print FoxPro form
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Storing content of the Clipboard to a bitmap file
Placing On-screen Alert on top of all windows
Custom GDI+ class
Storing screen shot of a form to bitmap file
How to put a horizontal text scrolling on the form (a news line, marquee)
How to print a bitmap file
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
How to detect if additional monitor is connected and active
GDI+: Implementing image scrolling with inertia
Subclassing CommandButton control to create BackColor property
Splash Screen for the VFP application
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Printing Image File, programmatically set print page orientation to landscape
Vertical Label control
Printing text with the Escape function
Displaying bitmap using the AlphaBlend function
How to put a vertical text scrolling on the form (a movie cast)
Bitmap Class for Visual FoxPro application
Displaying the associated icons and descriptions for files and folders
Drawing Windows predefined bitmaps using the LoadBitmap functions
How to change the name and the size of the font in the MessageBox dialog
GDI+: Scrolling through large image using the mouse
Creating a window using CreateWindowEx function
GDI+ fun: roach-infested desktop
How to find which fonts Windows uses for drawing captions, menus and message boxes
How to print FoxPro form -- II
Creating a clipping region from the path selected into the device context of a form
GDI+: Creating thumbnails to preview images in a directory
How to view icons stored in executable files (Icon Viewer) - II
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print picture stored in enhanced-format metafile (*.emf)
GDI+: sending image of FoxPro form to printer
Displaying dimmed window behind VFP top-level form
Retrieving graphic capabilities of your display
Converting twips to pixels and vice versa
How to draw custom Window Caption on FoxPro form
GDI+: how to make VFP controls visually shake and shudder
Printing text on the main VFP window
Using FrameRgn for displaying system colors
How to make a VFP form fading out when released (GDI+ version)
Storing screen shot of a form to enhanced metafile (*.emf)
GDI+: Color Transparency
User Contributed Notes:
There are no notes on this subject.



Copyright 2001-2014 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.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.111.111)
1.7 min.Function: 'inet_addr'
Function group: 'Windows Sockets 2 (Winsock)'
3 day(s)Function: 'WSACloseEvent'
Function group: 'Windows Sockets 2 (Winsock)'
 Example: 'How to retrieve the number of print jobs queued for the printer'
 Function: 'NetShareAdd'
Function group: 'Network Management'
 Function: 'NetWkstaGetInfo'
Function group: 'Network Management'
 Function: 'IsZoomed'
6 day(s)Example: 'Monitoring changes occurring within a directory'
 Function: 'JetCommitTransaction'
 Function: 'VirtualAllocEx'
Function group: 'Memory Management'
 Example: 'How to print FoxPro form'
Google
Advertise here!