Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Obtaining I/O counts for the current process
Reading data from INI files
Enumerating servers of the specified type (e.g. SQL Server) in the primary domain
Enumerating the subkeys of a user-specific key
Retrieving information about MS-DOS device names using QueryDosDevice (WinNT only)
Running a regular FoxPro form while main VFP window is minimized
Setting properties of the window: caption and user-defined value
Using an Event Object. Part A: running an application that creates an Event object
Using the CopyFile
Using the Semaphore object
Creating hash values for the list of names
Current directory of the application
Obtaining MAC address through Address Resolution Protocol (ARP) request
Reading virtual key status values and key names
Returning some basic information for the specified INF file
Using Custom FTP class (DEFINE CLASS ftp As Custom)
How to generate UUID values
How to test file attributes (key method for FileExists and DirectoryExists routines)
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Retrieving configuration information for the specified server (Win98/Me)
Winsock: retrieving information from a host database for a given host name
GDI+: converting image file to another graphics format
GDI+: converting text strings to images and saving in a graphics file
Listing INF files in a specified directory
Setting and retrieving the double-click time for the mouse

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
 
DO declare
 
LOCAL nTime
 
nTime = GetDoubleClickTime()
? "Double click time:", nTime, "msec"
 
* passing zero is equivalent to setting this parameter 
* to OS default value 
* which is usually 500 milliseconds
 
*= SetDoubleClickTime(0)
 
* end of main
 
PROCEDURE declare
    DECLARE INTEGER SetDoubleClickTime IN user32;
        INTEGER wCount
 
    DECLARE INTEGER GetDoubleClickTime IN user32
 
 
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
401 bytes  
Created: 2001-07-19 12:00:00  
Modified: 2010-08-05 10:16:28  
Visits in 7 days: 72  
Listed functions:
GetDoubleClickTime
SetDoubleClickTime
Printer friendly API declarations
My comment:
When setting double-click time to zero, the system uses the default double-click time of 500 milliseconds
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 (50.16.17.90)
4 sec.Example: 'GDI+: retrieving list of available image encoders and image decoders'
1.13 hrs.Example: 'Pocket PC: custom RAPI class for operating with files and folders on mobile device'
1.14 hrs.Function: 'HeapValidate'
4.04 hrs.Example: 'Testing serial ports'
 Example: 'Vertical Label control'
6.57 hrs.Example: 'Copying picture of the active form to the Clipboard using Enhanced Metafile API functions'
 Gallery
Page 11
9.83 hrs.Example: 'Extensible Storage Engine class library'
10.35 hrs.Example: 'How to retrieve the number of print jobs queued for the printer'
12.76 hrs.Example: 'Getting a bit more than the _CLIPTEXT offers'
Google
Advertise here!