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
System Information            ..msdn    Add comment
ExpandEnvironmentStrings Expands environment-variable strings and replaces them with their defined values.
GetComputerName Retrieves the computer name of the current system. This name is established at system startup, when it is initialized from the registry
GetComputerNameEx The GetComputerNameEx function retrieves a NetBIOS or DNS name associated with the local computer. The names are established at system startup, when the system reads them from the registry.
GetComputerObjectName The GetComputerObjectName function retrieves the local computer"s name in a specified format.
GetCurrentHwProfile Retrieves information about the current hardware profile for the local computer.
GetKeyboardType Retrieves information about the current keyboard.
GetNativeSystemInfo Retrieves information about the current system to an application running under WOW64.
GetProductInfo Retrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system.
GetSysColor Retrieves the current color of the specified display element. Display elements are the parts of a window and the Windows display that appear on the system display screen
GetSystemDirectory The GetSystemDirectory function retrieves the path of the system directory. The system directory contains such files as dynamic-link libraries, drivers, and font files.
GetSystemInfo Returns information about the current system.
GetSystemMetrics Retrieves various system metrics (widths and heights of display elements) and system configuration settings.
GetSystemRegistryQuota Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.
GetSystemWow64Directory Retrieves the path of the system directory used by WOW64. This directory is not present on 32-bit Windows.
GetUserName Retrieves the user name of the current thread. This is the name of the user currently logged onto the system.
GetUserNameEx Retrieves the name of the user or other security principal associated with the calling thread. You can specify the format of the returned name.
GetVersion The GetVersion function returns the current version number of Windows and information about the operating system platform
GetVersionEx The GetVersionEx function obtains extended information about the version of the operating system that is currently running
GetWindowsDirectory The GetWindowsDirectory function retrieves the path of the Windows directory. The Windows directory contains such files as applications, initialization files, and help files.
IsNetworkAlive The IsNetworkAlive function determines whether the local system is connected to a network and the type of network connection. For example, whether the local system has connectivity to a LAN, WAN, or both networks.
SetComputerName The SetComputerName function stores a new NetBIOS name for the local computer. The name is stored in the registry and takes effect the next time the user restarts the computer.
SetSysColors Sets the colors for one or more display elements. Display elements are the various parts of a window and the Windows display that appear on the system display screen
SystemParametersInfo The SystemParametersInfo function retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.
Code examples:
Retrieving local computer and user names
Splash Screen for the VFP application
Obtaining the System and Windows folder names
How to make a VFP form fading out when released (GDI version)
How to display Windows On-Screen Keyboard
OS version and revision
How to Start a Process as Another User (NT/XP/2K)
Round FoxPro form
Creating irregularly shaped FoxPro form using transparency color key
How to draw custom Window Caption on FoxPro form
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Finding out if the current user is the Guest account
How to find which fonts Windows uses for drawing captions, menus and message boxes
Retrieving a handle to DLL and address of an exported function in it
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
Displaying the associated icons and descriptions for files and folders
An alternative way of setting Form.Closable to False
Placing On-screen Alert on top of all windows
How to make application automatically close all documents it opened
Tracking mouse movement to detect when to start dragging
Reading data from INI files
Using Shell for performing operations on files
Converting path to original case
Using mailslots to send messages on the network
Loading a string resource from an executable file
Using LoadLibrary
How to make a VFP form fading out when released (GDI+ version)
Obtaining names of local and global groups for current user (WinNT/XP/2K)
Clipping mouse cursor area
GDI+: how to make VFP controls visually shake and shudder
Current System information
One more way to retrieve environment strings
Current keyboard type
Using the SystemParametersInfo function
Reading current hardware profile
Extended OS Version info
Retrieving various system metrics
Using GetSysColor
Changing system colors
Determining if an Active Network Connection is Available
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
10 sec.Function: 'CreateFile'
21 sec.Function: 'GetCurrentProcessId'
32 sec.Function: 'DeleteFile'
43 sec.Function: 'CreateDIBSection'
56 sec.Function: 'AVIStreamGetFrameClose'
1.13 min.Function: 'DrawDibOpen'
1.33 min.Function: 'GetMenu'
1.55 min.Function: 'CreatePopupMenu'
1.77 min.Function: 'GetFileNameFromBrowse'
1.97 min.Function: 'BitBlt'
Advertise here!