Table of Contents

 
SetDefaultCursor
 

Purpose

Sets or resets the default cursor image

 

Protoype

void CCursorMngr::SetDefaultCursor (string str_default)
 

Parameters

default the ID of the cursor object to set as default
 

Description

This function sets the default cursor object or, if one is already set, sets a new one. The default cursor is the most commonly-used cursor object. Besides setting the default cursor with this function, you can also use AddCursor() and create a cursor object with the ID "default", which will automatically become the default and current cursor object.

NOTE: You must have a default cursor.

 

Use

CCursorMngr cursor;
cursor.SetDefaultCursor ("default");
 

Prev: SetCursorOrientation