MouseIconfunction
Returns or sets a custom mouse icon.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION MouseIcon () AS IPicture PTR
PROPERTY MouseIcon (BYVAL pic AS IPicture PTR)
Description
Returns or sets a custom image (typically an .ico or .cur file) to the mouse cursor when it is positioned over the grid.
Remarks
To use a custom icon, you must set two properties in tandem:
- MousePointer: Must be set to 99 - flexCustom.
- MouseIcon: Must be assigned a valid picture object.
If the file cannot be loaded or is invalid, the control silently falls back to the default cursor.
Example
' Step 1: Set the pointer to custom mode grid.MousePointer = 99
' Step 2: Load the specific icon or cursor file grid.MouseIcon = LoadPicture("C:\Icons\MyCustomCursor.cur")
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid