Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Obtaining provider name for a specific type of network
Retrieving file information for the VFP executable running
System and Local Time values
Using custom Simple MapiSendMail class
A class that encrypts and decrypts files using Cryptography API Functions
GDI+ fun: roach-infested desktop
Monitoring changes occurring within a directory
Moving shortcut to a specified position on the Windows Desktop
Starting external program from VFP and waiting for its termination
Winsock: creating a socket that is bound to a specific service provider
Adding printer to the list of supported printers for the specified server
Browsing Windows Known Folders (Special Folders)
GDI+: reading and writing metadata in JPEG and TIFF files
How to retrieve information about a cache entry (Internet Explorer)
How to suspend or hibernate your system
Removing FTP directory
Round FoxPro form
Using the RestartDialog function -- restarting Windows
Copying strings through the global memory block
How to generate GUID values
How to hot-track menu item selection in top-level form (requires VFP9)
How to make the caption of a VFP application flashing in the Windows task bar
Playing WAV sounds simultaneously
Pocket PC: base class
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: 58  
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 (184.72.184.104)
10.43 hrs.Function: 'GetIpAddrTable'
12.33 hrs.Example: 'How to upload a local file to FTP server using FtpPutFile'
12.34 hrs.Example: 'Browsing Windows Known Folders (Special Folders)'
Google
Advertise here!