Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Locking and unlocking file of a VFP table
Obtaining MAC address through Address Resolution Protocol (ARP) request
Reading Internet Query options
Retrieving the IP-to-physical address mapping table
Using the Semaphore object
Pocket PC: System Registry Viewer
Using IsChild() for testing ThisForm.ShowWindow property
Who owns the Windows Clipboard
Winsock: initializing the service in the VFP application
Building a tree of subdirectories for a given path using FindFile functions
Current System information
Hiding mouse cursor
How to drag a Form not using its Titlebar or Caption
Reading current hardware profile
Memory usage info for current VFP session (WinNT only)
Retrieving information about all users currently logged on to the workstation (WinNT only)
Determining whether or not the system is connected to the Internet
Enumerating connections made to a shared resource for the local computer (WinNT only)
How to play a waveform sound (a WAV file in particular)
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Retrieving geometrical parameters of the system desktop window
Changing system colors
GDI+: enumerating fonts installed on the system
How to test file attributes (key method for FileExists and DirectoryExists routines)
Hiding mouse cursor

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 ShowCursor IN user32 INTEGER bShow
 
PROCEDURE _hide
    DO WHILE ShowCursor(0) >= -1
        DOEVENTS
    ENDDO
 
PROCEDURE _show
    DO WHILE ShowCursor(1) < 0
        DOEVENTS
    ENDDO
 
 
 
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
194 bytes  
Created: 2001-09-07 12:00:00  
Modified: 2008-01-05 11:41:32  
Visits in 7 days: 55  
Listed functions:
ShowCursor
Printer friendly API declarations
My comment:
In Visual FoxPro the SET MOUSE setting is ignored. VFP8 often restores hidden mouse cursor automatically. So this API function may not be useful. The MousePointer property, that applies to many VFP controls including the Form, hides the pointer when set to 13
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 (107.21.186.38)
7.45 hrs.Function: 'NetUserDel'
Function group: 'Network Management'
 Example: 'GetFileOwner - Get the owner of an NTFS file'
10.34 hrs.Example: 'Using GetNearestColor'
 Example: 'The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API'
14.16 hrs.Example: 'How to write and read Window Properties for the specified window'
18.32 hrs.Function: 'CryptGetProvParam'
 Function: 'GetNativeSystemInfo'
20.4 hrs.Example: 'How to assemble an array of strings and pass it to external function'
20.76 hrs.Example: 'Simple Window Viewer'
 Example: 'Drawing a window caption using the DrawCaption routine'
Google
Advertise here!