|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| mouse.load(Filename, ApplyNow) |
Parameters
| STRING | Filename | .cur or .ani file.
| | BOOL | ApplyNow | true if the new cursor must be applied immediately, false otherwise. |
Return value
No value is returned.
Description
Load a mouse cursor from disk.
A mouse cursor file is a .ico or .cur file. You can create cursor files with various software.
The second parameter Apply Now make it possible to load a cursor and use it later.
Once loaded with the second parameter set to false, you can apply the icon with mouse.cursor(userDefined) (more info: mouse.cursor) |
MioScript Sample Code
// Load and apply immediately
mouse.load(path.rsc("myCursor.cur"), true)
// Load and apply later
mouse.load(path.rsc("myCursor.cur"), false)
// do some stuff then apply the cursor loaded from disk
mouse.cursor(userDefined) |
|
|
|