Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Enumerating data formats currently available on the clipboard
Adding and deleting Scheduled Tasks using NetScheduleJob API functions
Winsock: sending email messages (SMTP, port 25)
Mapping and disconnecting network drives
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Custom GDI+ class
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Converting Unicode data from the Clipboard to a character string using a given code page
Disk in drive A:
How to display the Properties dialog box for a file (ShellExecuteEx)
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Enumerating network resources
Detecting changes in connections to removable drives (VFP9)
How to download a file from the FTP server using FtpGetFile
Using EnumPrinters function to enumerate locally installed printers
Splash Screen for the VFP application
How to play AVI file on the _screen
Retrieving the name of the network resource associated with a local device
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Creating a console window for Visual FoxPro application
Custom HttpRequest class (WinHTTP)
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Creating irregularly shaped FoxPro form using transparency color key
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)

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
Before you begin:
There are many user-input devices beside the traditional keyboard and mouse.

For example, user input can come from a joystick, a touch screen, a microphone, or other devices that allow great flexibility in user input.



These devices are collectively known as Human Interface Devices (HIDs). The raw input API provides a stable and robust way for applications accepting raw input from any HID, including the keyboard and mouse.

See also:
  • Capturing keyboard activity of another application using the Raw Input API

  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    6487 bytes  
    Created: 2011-01-04 20:30:08  
    Modified: 2011-01-06 13:44:28  
    Visits in 7 days: 260  
    Listed functions:
    GetRawInputDeviceInfo
    GetRawInputDeviceList
    Printer friendly API declarations
    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 (54.234.67.55)
    1.04 hrs.Example: 'How to retrieve information about a cache entry (Internet Explorer)'
     Example: 'Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window'
    5.13 hrs.Example: 'GDI+: Using Scale and Shear transformations'
    5.14 hrs.Example: 'Locking the workstation'
    11.91 hrs.Function: 'GdipCreateFromHWND'
    12.02 hrs.Example: 'Using the GetLogicalDriveStrings'
     Function: 'waveInClose'
    Function group: 'Windows Multimedia'
    18.76 hrs.Function: 'CoTaskMemFree'
    Function group: 'COM'
    1 day(s)Function: 'SQLFreeHandle'
     Example: 'How to obtain the number of rows affected by remote UPDATE, INSERT or DELETE statement'
    Google
    Advertise here!