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
Shell Functions            ..msdn    Add comment
AssocQueryString Searches for and retrieves a file or protocol association-related string from the registry.
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.
SHGetSpecialFolderLocation Retrieves a pointer to the ITEMIDLIST structure of a special folder.
SHGetStockIconInfo Retrieves information about system-defined Shell icons.
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.
SHSimpleIDListFromPath Returns a pointer to an ITEMIDLIST structure when passed a path.
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:
Browsing Windows Known Folders (Special Folders)
Windows Shell Icons displayed and exported to ICO files (Vista)
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
How to display Windows On-Screen Keyboard
Displaying system dialog that selects a folder
Accessing the list of Windows Recent Documents
Detecting changes in connections to removable drives (VFP9)
Mapping and disconnecting network drives
Displaying the associated icons and descriptions for files and folders
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Accessing Adobe Reader 7.0 main menu from VFP application
How to remove a directory that is not empty
Displaying standard progress dialog box when copying files
Displaying icons in the system tray (VFP9)
How to control Adobe Reader 9.0 (SDI mode) from VFP application
GDI+: Drawing a Pie Chart
GDI+: cropping images
Creating a unique filename based on existing filename
GDI+: creating a gradient
Storing content of the Clipboard to a bitmap file
Saving local machine ODBC Registry Entries to XML file
GDI+: converting text strings to images and saving in a graphics file
How to find the application associated with a file name
How to display the Properties dialog box for a file (ShellExecuteEx)
Accessing examples contained in this reference through Web Services
How to make application automatically close all documents it opened
Using the RestartDialog function -- restarting Windows
Using Shell for performing operations on files
Finding the application, icon and friendly names associated with a file name
GDI+: creating scaled copy of image file
System Image List Viewer
Reading the structure of VFP main menu
Accessing examples contained in this reference from a VFP application
Creating an Open dialog box to specify the drive, directory, and name of a file to open (Shell32 version)
Creating a folder
Retrieving window and menu help context identifiers
Deleting files into the Recycle Bin
Accessing Windows Control Panel from VFP Application
Displaying the drive type value
Disk in drive A:
How to empty the Recycle Bin
How to get the path to a Special Folder
Obtaining Shell32.dll version
How to retrieve number of objects in the Recycle Bin
How to access a file using not its name but an alias (hard link)
Determining whether or not the system is connected to the Internet
Retrieving current user for the process
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.197.111.87)
5 sec.
Function group: 'Remote Access Service (RAS)'
1.22 min.Function: 'UpdateResource'
Google
Advertise here!