Table of Contents

 
RemoveCursor
 

Purpose

Removes a given cursor image from the manager

 

Protoype

void CCursorMngr::RemoveCursor (string str_remove)
 

Parameters

remove the ID of the cursor object to remove
 

Description

This function removes a single cursor object from the manager. There are several rules to this function. One is that you are not allowed to delete the default cursor unless it is the last cursor left in the manager. Trying to do so will generate a warning to the log file and the request will be ignored. If you delete the current cursor then the default cursor will become the current cursor. If you remove the last cursor object from the manager, the system cursor will be redisplayed.

 

Use

CCursorMngr cursor;
cursor.RemoveCursor("my_cursor");
 

Prev: RemoveAll