Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_cssText Next Topic: IHTMLStyle::get_display |
IHTMLStyle::get_cursor
HRESULT get_cursor( BSTR *p );Retrieves the value of the CSS cursor attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute. See cursor for details. This variable receives NULL if the attribute is not set.
See also put_cursor
IHTMLStyle::put_cursor
HRESULT put_cursor( BSTR v );Sets the value of the CSS cursor attribute for the element. The attribute determines the type of cursor to display when the mouse is over the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the cursor type. Can be one of these values:
auto The UA determines the cursor to display based on the current context. crosshair A simple crosshair. default The platform-dependent default cursor (typically an arrow). hand A hand. move A four-directional arrow typically used to indicate an object to be moved. *-resize An arrow cursor typically used to indicate the edge of an object to be moved during a resize operation. text Typically an I-bar used to indicate editable text. wait Typically a watch or hourglass used to indicate that the program is busy and the user should wait. See also get_cursor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.