Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using an Event Object. Part A: running an application that creates an Event object
Reading Internet Query options
Retrieving the names of all sections in an initialization file
Returning some basic information for the specified INF file
Setting properties of the window: caption and user-defined value
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
How to download a file from HTTP server using URL Monikers functions
Retrieving information about MS-DOS device names using QueryDosDevice (WinNT only)
Retrieving the rectangle area where the mouse cursor is confined
How to get Special Folders paths
Obtaining I/O counts for the current process
Reading data from INI files
Using Shell for performing operations on files
Using the Semaphore object
Closing Windows
How to write and read Window Properties for the specified window
Obtaining the bounding rectangle for the specified device context
Running a regular FoxPro form while main VFP window is minimized
Setting the volume label
Testing Transparent Menu Class with top-level form (requires VFP9)
How to generate UUID values
Retrieving the System Time adjustment
GDI+: converting text strings to images and saving in a graphics file
GetFileOwner - Get the owner of an NTFS file
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: 136  
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 (54.226.5.29)
4.83 hrs.Function: 'DeviceCapabilities'
Function group: 'Printing and Print Spooler'
8.64 hrs.Example: 'How to detect if additional monitor is connected and active'
9.93 hrs.Example: 'Obtaining OS memory performance information'
15.5 hrs.Function: 'IsValidSid'
15.51 hrs.Example: 'Using mailslots to send messages on the network'
 Function: 'SearchPath'
Function group: 'File Management'
15.65 hrs.Example: 'Converting strings between ANSI and OEM'
 Function: 'FindFirstChangeNotification'
18.73 hrs.Example: 'Using FlashWindowEx to flash the taskbar button of the VFP application'
 Function: 'FindWindowEx'
Function group: 'Window'
Google
Advertise here!