Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Reading header information from AVI file
Retrieving configuration information for the specified server (Win98/Me)
Running a regular FoxPro form while main VFP window is minimized
Using named pipes for interprocess communication
Winsock: how to retrieve a service information corresponding to a service name
Enumerating MIDI output devices
GDI+: converting text strings to images and saving in a graphics file
Minimizing all running applications
Retrieving the names of all sections in an initialization file
Setting and retrieving the double-click time for the mouse
Using LoadLibrary
Building a tree of subdirectories for a given path using FindFile functions
Enumerating forms supported by a specified printer
Pocket PC: System Registry Viewer
Using Video Capture: enumerating installed capture drivers
Basic Volume information
Closing Windows
How to check whether the system is 32-bit or 64-bit
Pocket PC: creating new database in the Object Store and copying Contacts Database records into it
Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file
Setting the Window Region for a form
Drawing a window caption using the DrawCaption routine
Accessing LSA Policy object (Local Security Authority)
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
Versions:
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_ICONQUESTION     32
    #DEFINE MB_ICONEXCLAMATION  48
    #DEFINE MB_ICONASTERISK     64
    #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: 130  
    Listed functions:
    MessageBeep
    Printer friendly API declarations
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.


    Copyright © 2001-2013 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.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (184.73.74.47)
    5 sec.Function: 'IsChild'
    Function group: 'Window'
    41.38 min.Function: 'FindFirstFile'
    Function group: 'File Management'
    2.19 hrs.Example: 'How to print FoxPro form'
     Example: 'Storing screen shot of a form to enhanced metafile (*.emf)'
     Function: 'IcmpSendEcho'
    6.02 hrs.Example: 'Subclassing CommandButton control to create BackColor property'
     Function: 'GdipGetPageUnit'
    Function group: 'GDI+ Graphics'
    9.94 hrs.Function: 'CeCreateDirectory'
     Function: 'InternetAutodialHangup'
    Function group: 'Internet Functions (WinInet)'
    12.13 hrs.Function: 'WriteProcessMemory'
    Google
    Advertise here!