Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: cropping images
MapiSendMail class for Visual FoxPro application
Obtaining I/O counts for the current process
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Reading and setting system access privileges for the current process
Using custom Simple MapiSendMail class
Using shared memory to exchange data between two FoxPro applications
Writing entries to custom Event Log
Converting strings between ANSI and OEM
GDI+: converting image file to another graphics format
Reading data from INI files
Retrieving list of files on the FTP directory
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Finding out if the current user is the Guest account
How to display picture stored in enhanced-format metafile (*.emf)
How to print FoxPro form -- II
Reading and setting explicit Application User Model ID for the current process (Win7)
Reading entries from Event logs
Retrieving current user for the process
Retrieving information specific to the current Time Zone
Retrieving System Error message strings
Retrieving top-child window for the VFP form
Current System information
How to write and read Window Properties for the specified window
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: 92  
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 (54.224.79.93)
4.27 hrs.Example: 'Displaying Windows shell folders in TreeView control with Visual FoxPro FLL'
 Function: 'WTSRegisterSessionNotification'
1 day(s)Function: 'CreateFont'
 Function: 'GetThreadDesktop'
Function group: 'Window Station and Desktop'
 Function: 'CoCreateGuid'
 Example: 'How to block the PrintScreen key'
 Example: 'Reading the structure of VFP main menu'
 Function: 'SHRegEnumUSKey'
2 day(s)Function: 'InternetCloseHandle'
Function group: 'Internet Functions (WinInet)'
 Function: 'waveOutGetVolume'
Google
Advertise here!