Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Displaying the associated icons and descriptions for files and folders
Obtaining physical parameters for a drive: sectors, clusters, cylinders...
Retrieving list of available disk drives
Retrieving the command line for the VFP session
Simple Window Viewer
Disconnecting USB Mass Storage Device programmatically
How to obtain the number of rows affected by remote UPDATE, INSERT or DELETE statement
Listing INF files in a specified directory
Retrieving names for the registered clipboard formats
Enumerating the subkeys of a user-specific key
How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory
Using the RestartDialog function -- restarting Windows
Dial the Net Automatically
Displaying dimmed window behind VFP top-level form
Displaying printer-properties Property Sheet for the specified printer
Drawing standard Windows icons
Get the power status of your laptop computer
Retrieving file information for the VFP executable running
Accessing examples contained in this reference from a VFP application
Drawing a rectangle using Windows regular edges and borders
Extended MessageBox Class
How to extract frames from AVI files
Shortcut Menu Class
Storing registration key in the resources of an executable file
How to block the ALT+TAB shortcut (WinXP)

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
Before you begin:
Windows XP allows the AltTab to be registered as a hotkey, effectively blocking ALT+TAB and ALT+ESC shortcuts.



See also:
  • How to block the PrintScreen key
  • How to prevent users from accessing the Windows Desktop and from switching to other applications
  • 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:
    • ~
    2385 bytes  
    Created: 2004-01-03 13:06:59  
    Modified: 2011-01-06 16:29:17  
    Visits in 7 days: 116  
    Listed functions:
    FindWindow
    GetFocus
    GetLastError
    RegisterHotKey
    ShowWindow
    UnregisterHotKey
    Printer friendly API declarations
    My comment:
    This technique can not be used to block CTRL+ALT+DEL combination of keys.

    See also Microsoft Knowledge Base Article - 161133:
    HOWTO: Block CTRL+ALT+DEL and ALT+TAB in Windows 95 or Windows 98.

    * * *
    I found a discussion on the Expert-Exchange, Interrupt Handler for 0x19 (Ctrl+Alt+Del) in VB6, that you may find interesting.

    Then an article written by Antσnio Feijγo, Lock Windows Desktop seems to answer many if not all questions and even offers some downloads.

    * * *
    Read article Typename, Disabling Keys in Windows XP with TrapKeys by Paul DiLascia.
    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.17.109.248)
    4 sec.Example: 'Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera'
    20.67 min.All Functions
    20.72 min.Example: 'Browsing Windows Known Folders (Special Folders)'
    20.75 min.Function: 'GdipSetTextRenderingHint'
    Function group: 'GDI+ Graphics'
    2.05 hrs.Function: 'LoadLibrary'
    Function group: 'Dynamic-Link Library'
    3.31 hrs.Example: 'Converting command-line string to a set of Unicode argument strings (WinNT only)'
    3.32 hrs.Example: 'Converting image file to .ICO file'
     Solution: 'ContextMenu ActiveX Control'
    5.28 hrs.Example: 'Displaying system dialog that selects a folder'
    Language: 'C++'
    8.31 hrs.Example: 'How to activate Windows Calculator'
    Google
    Advertise here!