|
|
System arrow cursor index. |
|
|
System busy cursor index. |
|
|
System colomn cursor index. |
|
|
System cross cursor index. |
|
|
System drag cursor index. |
|
|
System hand point cursor index. |
|
|
System hand select cursor index. |
|
|
System help cursor index. |
|
|
System beam cursor index. |
|
|
System move cursor index. |
|
|
System nodrop cursor index. |
|
|
System none cursor index. |
|
|
System pencil cursor index. |
|
|
System right arrow cursor index. |
|
|
System row cursor index. |
|
|
System size northeast to southwest cursor index. |
|
|
System north to south cursor index. |
|
|
System size northwest to southeast cursor index. |
|
|
System west to east cursor index. |
|
|
System horizontal split cursor index. |
|
|
System vertical cursor index. |
|
|
System up arrow cursor index. |
|
|
System wait cursor index. |
|
|
Changes the current cursor. This function changes the current cursor to be hcsr.
|
|
|
Changes the current cursor, and set it as the default cursor. This function changes the current cursor to be hcsr, and set it as the default cursor.
|
|
|
Clips the cursor range. This function sets cursor's clipping rectangle. prc is the new clipping rectangle in screen coordinates. If prc is NULL, ClipCursor will disable cursor clipping.
|
|
||||||||||||||||||||||||||||||||
|
Creates a cursor from memory data. This function creates a cursor from memory data rather than cursor file. xhotspot and yhotspot specify the hotpot of the cursor, w and h are the width and the height of the cursor respectively. pANDBits and pXORBits are AND bitmask and XOR bitmask of the cursor. MiniGUI currently support mono-color cursor and 16-color cursor, colornum specifies the cursor's color depth. For mono-color, it should be 1, and for 16-color cursor, it should be 4.
|
|
|
Destroys a cursor object. This function destroys a cursor object specified by hcsr.
|
|
|
Gets the current cursor clipping rectangle. This function copies the current clipping rectangle to a RECT pointed to by prc.
|
|
|
Gets the handle to the current cursor. This function retrives the current cursor and returns its handle.
|
|
|
Gets position of the current cursor. This function copies the current mouse cursor position to a POINT structure pointed to by ppt.
|
|
|
Gets the default cursor. This function gets the current default cursor.
|
|
|
Gets the handle to a system cursor by its identifier. MiniGUI creates (MAX_SYSCURSORINDEX + 1) system cursors for application. You can use GetSystemCursor to get the handle to these system cursors. The identifier can be one of the following:
|
|
|
Loads a cursor from a M$ Windows cursor file. This function loads a cursor from M$ Windows *.cur file named filename and returns the handle to loaded cursor. The returned handle can be used by SetCursor to set new mouse cursor.
|
|
|
Loads a cursor from a memory area. This function loads a cursor from a memory area pointed to by area. The memory has the same layout as a M$ Windows CURSOR file. The returned handle can be used by SetCursor to set new mouse cursor.
|
|
||||||||||||
|
Changes the current cursor. This function changes the current cursor to be hcsr, and/or sets it to be the default cursor. If you pass set_def as TRUE, the expected cursor will be the default cursor. The default cursor will be used when you move the cursor to the desktop.
|
|
||||||||||||
|
Sets position of the current cursor. This function sets mouse cursor position with the given arguments: (x,y).
|
|
|
Shows or hides cursor. This function shows or hides cursor according to the argument fShow. Show cursor when fShow is TRUE, and hide cursor when fShow is FALSE. MiniGUI maintains a showing count value. Calling ShowCursor once, the count will increase when fShow is TRUE, or decrease one when FALSE. When the count is less than 0, the cursor will disapear actually.
|
1.4.2