ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Mouse functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
CursorDisplay (Function)
In french: CurseurAffiche
Displays or hides the mouse cursor.
Note: The mouse caret (used during input) is not modified.
Example
// -- Evénement "Entrée" associé au champ de saisie
// On masque le curseur de la souris (la flèche par défaut)
// lorsque que le champ de saisie a le focus
CursorDisplay(False)
Syntax
CursorDisplay(<Displayed cursor>)
<Displayed cursor>: Boolean
  • True if the mouse cursor must be displayed,
  • False otherwise.
Remarks
  • CursorDisplay has no effect if no mouse is installed.
  • Only the current application's cursor is assigned to this function: other applications' windows retain their cursor display status.
  • Even when hidden, the cursor remains active: you can still click and move the mouse.
Related Examples:
WD Magnifier Complete examples (WINDEV): WD Magnifier
[ + ] This example enables you to zoom part of the screen with a magnifier.
The maximum zoom value is set to 8.
Summary of the example supplied with WINDEV:
The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot.
This example uses this tip to zoom the part of the screen found below the magnifier.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help