Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1233
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 15
Color 1
COM 5
Common Dialog Box 12
Console 12
Coordinate Space and Transformation 9
Cryptography Reference 25
Cursor 5
Data Decompression Library 3
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 26
GDI+ Image 20
GDI+ ImageAttributes 3
GDI+ Matrix 10
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 20
Mailslot 3
Memory Management 24
Menu 16
Message and Message Queue 6
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 7
MSHTML Reference 1
Multiple Display Monitors 2
National Language Support 8
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 30
Region 7
Registry 21
Remote Access Service (RAS) 5
Remote Application Programming (RAPI) 49
Remote Procedure Call (RPC) 7
Resource 10
Security 19
Service 11
Setup API functions 7
Shell Functions 33
Shell Lightweight Utility APIs -- misc. functions 2
Shell Lightweight Utility APIs -- Path Functions 18
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
Window 36
Window Class 6
Window Procedure 3
Window Property 3
Window Station and Desktop 7
Windows Controls 8
Windows Multimedia 76
Windows Networking 18
Windows Sockets 2 (Winsock) 37
Shell Functions            ..msdn    Add comment
DllGetVersion Implemented by many of the Microsoft® Windows® Shell dynamic-link libraries (DLLs) to allow applications to obtain DLL-specific version information.
DragAcceptFiles Registers whether a window accepts dropped files.
DragFinish Releases memory that the system allocated for use in transferring file names to the application.
DragQueryFile Retrieves the names of dropped files that result from a successful drag-and-drop operation.
DragQueryPoint Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation.
FileIconInit Reinitializes the system image list.
FindExecutable Retrieves the name of and handle to the executable (.exe) file associated with the specified file name.
GetFileNameFromBrowse This function creates an Open dialog box that lets the user specify the drive, directory, and name of a file to open.
GetMenuContextHelpId Retrieves the Help context identifier associated with the specified menu.
GetWindowContextHelpId The GetWindowContextHelpId function retrieves the help context identifier, if any, associated with the specified window.

Windows NT only
InetIsOffline Determines whether or not the system is connected to the Internet.
IsUserAnAdmin Tests whether the current user is a member of the Administrator"s group.
PathMakeUniqueName Creates a unique path name from a template.
PathYetAnotherMakeUniqueName Creates a unique filename based on an existing filename.
RealDriveType Determines the drive type based on the drive number.
RestartDialog Displays a dialog box that prompts the user to restart Microsoft® Windows®. When the user clicks the button, the function calls ExitWindowsEx to attempt to restart Windows.
SHAddToRecentDocs Adds a document to the Shell"s list of recently used documents or clears all documents from the list.
SHBrowseForFolder Displays a dialog box that enables the user to select a Shell folder.
SHCreateDirectory Creates a folder.
ShellAbout Displays a Shell About dialog box
ShellExecute Performs an operation on a specified file.
ShellExecuteEx Performs an action on a file.
Shell_GetImageLists Retrieves system image lists for large and small icons -- undocumented.
Shell_NotifyIcon Sends a message to the taskbar"s status area.
SHEmptyRecycleBin Empties the Recycle Bin on the specified drive.
SHFileOperation Copies, moves, renames, or deletes a file system object.
SHFormatDrive The SHFormatDrive API provides access to the Shell"s format dialog box. This allows applications that want to format disks to bring up the same dialog box that the Shell uses for disk formatting.
SHGetFileInfo Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.
SHGetFolderPath Takes the CSIDL of a folder and returns the pathname.
SHGetPathFromIDList Converts an item identifier list to a file system path.
SHParseDisplayName Translates a Shell namespace object"s display name into an item identifier list and returns the attributes of the object. This function is the preferred method to convert a string to a pointer to an item identifier list (PIDL).
SHQueryRecycleBin Retrieves the size of the Recycle Bin, and the number of items in it, on the specified drive.
WinHelp The WinHelp function starts Windows Help (WINHELP.EXE) and passes additional data indicating the nature of the help requested by the application
Code examples:
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
How to display a dialog box that enables the user to select a folder -- same as GETDIR() does
Adding icon to the systray (requires VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Creating a unique filename based on existing filename
Storing content of the Clipboard to a bitmap file
Displaying the associated icons and descriptions for files and folders
Mapping and disconnecting network drives
How to find an application associated with the file name
Accessing Documents list in the Windows Start menu
How to control Adobe Reader 9.0 (SDI mode) from VFP application
Reading the structure of VFP main menu
How to make FoxPro application automatically close all documents and programs it started
Accessing Adobe Reader 7.0 main menu from VFP application
GDI+: converting text strings to images and saving in a graphics file
Retrieving window and menu help context identifiers
How to remove a directory that is not empty
Using the RestartDialog function -- restarting Windows
GDI+: cropping images
Using Shell for performing operations on files
GDI+: Drawing a Pie Chart
Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file
How to display the Properties dialog box for a file (ShellExecuteEx)
Displaying standard progress dialog box when copying files
Retrieving current user for the process
Creating an Open dialog box to specify the drive, directory, and name of a file to open (Shell32 version)
Determining whether or not the system is connected to the Internet
How to get Special Folders paths
Creating a folder
Accessing examples contained in this reference from a VFP application
Accessing examples contained in this reference through Web Services
Deleting files into the Recycle Bin
System Image List Viewer
GDI+: creating scaled copy of image file
How to empty the Recycle Bin
Disk in drive A:
Displaying the drive type value
Obtaining Shell32.dll version
Using ShellAbout
How to access a file using not its name but an alias (hard link)
How to retrieve number of objects in the Recycle Bin
Accessing Windows Control Panel from VFP Application
User Contributed Notes:
There are no notes on this subject.



Copyright © 2001-2010 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.0.85), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (38.107.191.105)
25.58 min.Function: 'CopyIcon'
Function group: 'Icon'
27.33 min.Example: 'How to detect if additional monitor is connected and active'
2 day(s)Function: 'mixerSetControlDetails'
Function group: 'Windows Multimedia'
 Example: 'How to read email messages using Simple MAPI'
 Function: 'GdiFlush'
Function group: 'Painting and Drawing'
 
Function group: 'GDI+'
 Function: 'GetPriorityClass'
Function group: 'Process and Thread'
 Function: 'GdipCreateHICONFromBitmap'
 Function: 'mciSendString'
Function group: 'Windows Multimedia'
 Function: 'GdiGetBatchLimit'
Function group: 'Painting and Drawing'
Google
Advertise here!