Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Adding printer to the list of supported printers for the specified server
Get the power status of your laptop computer
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to view system icons for the classes installed on the local machine
Reading the state of mouse buttons within DO WHILE loop
Returning some basic information for the specified INF file
The DetectAutoProxyUrl function identifies the auto-config script location
A procedure for setting file times
Copying strings through the global memory block
Finding the path to the VFP executable running
Obtaining I/O counts for the current process
Obtaining names of local and global groups for current user (WinNT/XP/2K)
Obtaining physical parameters for a drive: sectors, clusters, cylinders...
Retrieveing information about the active window (even if it is not owned by the calling process)
Retrieving list of available disk drives
Using the GetTempFileName
Using vendor-neutral SQL constructs
Verifying a file using the Authenticode policy provider
Current keyboard type
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Obtaining OS memory performance information
Removing FTP directory
Retrieving configuration information for the specified server (Win98/Me)
Retrieving the name of the primary domain controller (PDC) and join status information (NT/2000/XP)
Using the IsWindowEnabled function

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
 
    DECLARE INTEGER GetActiveWindow IN user32
    DECLARE INTEGER GetDesktopWindow IN user32
    DECLARE INTEGER IsWindowEnabled IN user32 INTEGER hwnd
 
    ? IsWindowEnabled (GetActiveWindow())  && main VFP window
    ? IsWindowEnabled (GetDesktopWindow()) && Windows desktop
 
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
268 bytes  
Created: 2002-04-21 17:32:45  
Modified: 2002-04-21 17:32:58  
Visits in 7 days: 81  
Listed functions:
GetActiveWindow
GetDesktopWindow
IsWindowEnabled
Printer friendly API declarations
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.7.143)
12.97 min.Example: 'Converting characters to upper or lower case'
13.03 min.Function: 'WNetCloseEnum'
Function group: 'Windows Networking'
19.92 min.Example: 'How to convert a bitmap file to monochrome format (1 bpp)'
19.95 min.Function: 'RtlCompressBuffer'
20.02 min.Function: 'DrawAnimatedRects'
2.04 hrs.Example: 'Copying files as a transacted operation (Vista)'
 Example: 'Minimizing all running applications'
2.16 hrs.Function: 'GetProcAddress'
Function group: 'Dynamic-Link Library'
 Example: 'Retrieving the priority class for the current process'
2.17 hrs.Example: 'Creating irregularly shaped FoxPro form using transparency color key'
Google
Advertise here!