Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using MessageBeep
Using Multimedia Command Strings to play MIDI files
Drawing a window caption using the DrawCaption routine
Enumerating files opened on the network
GDI+: Storing DLL icon resources in image files
How to run FoxPro application under different user name (impersonating user)
Retrieving geometrical parameters of the system desktop window
MapiSendMail class for Visual FoxPro application
Minimizing all running applications
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Obtaining the bounding rectangle for the specified device context
Creating a directory on the FTP
How to block the PrintScreen key
Retrieving Printer Device Context using PrintDlg function
Using FillMemory
Using GetBinaryType (WinNT only) to determine the type of an executable file
Using the DeleteFile
Using the Semaphore object
Winsock: creating a socket that is bound to a specific service provider
Displaying the drive type value
GetFocus returns a HWND value
Reading STARTUPINFO structure for the current VFP session
Simulating DOEVENTS
Validating the heap of the calling process
Using MessageBeep

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
click to open
Before you begin:
See also:
  • Using Beep and Sleep
  • How to play MIDI notes
  • #DEFINE MB_OK                0
    #DEFINE MB_OKCANCEL          1
    #DEFINE MB_ICONHAND         16
    #DEFINE MB_ICONMASK        240
    DECLARE INTEGER MessageBeep IN "user32" INTEGER wType
    ? MessageBeep (MB_ICONEXCLAMATION)

    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    320 bytes  
    Created: 2001-07-12 12:00:00  
    Modified: 2010-06-22 09:36:34  
    Visits in 7 days: 100  
    Listed functions:
    Printer friendly API declarations
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
    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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (
    14 sec.Function: 'CeRegCloseKey'
    Function group: 'Remote Application Programming (RAPI)'
    27 sec.Function: 'FindClose'
    Function group: 'File Management'
    37 sec.Function: 'mixerGetControlDetails'
    Function group: 'Windows Multimedia'
    53 sec.Articles
    1.08 min.Login
    1.32 min.
    Advertise here!