Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to create transparent areas inside a form -- punching holes in the form
Locking mouse and keyboard input for the VFP application
Starting external program from VFP and waiting for its termination
Using the MessageBox Win32 function
Enumerating global and local group accounts on a server (WinNT/XP/2K)
How to generate GUID values
Listing child windows for the Windows desktop
Reading security permissions for NTFS files and folders
Scanning a hierarchy of child windows down from the Windows Desktop
Storing screen shot of a form to enhanced metafile (*.emf)
Displaying standard progress dialog box when copying files
How to make the caption of a VFP application flashing in the Windows task bar
How to print picture stored in enhanced-format metafile (*.emf)
How to run FoxPro application under different user name (impersonating user)
Monitoring changes in a directory
Storing registration key in the resources of an executable file
How to build UDP responder
Printing text with the Escape function
Retrieveing information about the active window (even if it is not owned by the calling process)
Using custom Simple MapiSendMail class
Finding the path to the VFP executable running
How to register custom Event Log source
Reading and setting system access privileges for the current process
Retrieving file information for the VFP executable running
Simple Window Viewer

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
Before you begin:
This code enumerates all windows starting from the Desktop window and displays results in TreeView control.



See also:
  • Enumerating devices installed on the local machine
  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    7062 bytes  
    Created: 2001-07-21 12:00:00  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 100  
    Listed functions:
    FindWindow
    GetClassName
    GetDesktopWindow
    GetMenu
    GetParent
    GetWindow
    GetWindowText
    InternalGetWindowText
    IsWindow
    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 (107.21.186.38)
    3 sec.Example: 'Drawing a window caption using the DrawCaption routine'
    4.57 hrs.Gallery
    Page 9
    8.12 hrs.Function: 'GetFullPathName'
    22.91 hrs.Example: 'Pocket PC: custom RAPI class for operating with the Object Store Databases'
    1 day(s)Function: 'CloseDesktop'
    Function group: 'Window Station and Desktop'
     Example: 'Monitoring changes occurring within a directory'
     Example: 'Displaying bitmap using the AlphaBlend function'
     Example: 'Deleting a file stored on the FTP server'
     
    Function group: 'Resource'
     Function: 'GetCurrentDirectory'
    Google
    Advertise here!