Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to hide your program from the Close Program dialog (Win9* only)
How to intercept window messages sent to VFP form
How to print picture stored in enhanced-format metafile (*.emf)
Reading and setting explicit Application User Model ID for the current process (Win7)
Reading metrics for the currently selected font
Retrieving configuration information for the specified workstation (Win2000/XP)
Retrieving the names of all sections in an initialization file
Scanning a hierarchy of child windows down from the Windows Desktop
Setting properties of the window: caption and user-defined value
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Enumerating Processes -- Win9*
FindText -- the hopeless and useless Common Dialog
Reading and setting the priority class values for the current process and thread
Reading security permissions for NTFS files and folders
Retrieving list of Global Atom names
Retrieving list of supported paper names (for example, Letter or Legal) for a given printer
Retrieving the state of your Internet connection
CryptoAPI: Collection of Providers class
Retrieving information about the specified icon
String representation for disk or memory capacity
Changing system colors
Enhanced GetFont dialog
How to run FoxPro application under different user name (impersonating user)
Obtaining a handle to the desktop associated with the calling thread
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: 127  
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 (23.22.252.150)
7.78 hrs.Example: 'GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)'
 Example: 'Printing text on the client area of the main VFP window'
 Example: 'FindText -- the hopeless and useless Common Dialog'
14.87 hrs.Example: 'How to display the Print property sheet'
14.98 hrs.Function: 'WNetEnumResource'
17.21 hrs.Function: 'WNetGetProviderName'
Function group: 'Windows Networking'
1 day(s)Example: 'Disabling mouse and keyboard input for the main VFP window (with the app still running)'
 Example: 'Splash Screen for the VFP application'
 Function: 'AVIFileGetStream'
 Example: 'How to put a horizontal text scrolling on the form (a news line)'
Google
Advertise here!