Table of Contents

 
PlaceCursor
 

Purpose

Places the cursor at the exact location given

 

Protoype

void CCursorMngr::PlaceCursor (int i_xpos, int i_ypos)
 

Parameters

xpos the X coordinate to place the cursor
ypos the Y coordinate to place the cursor
 

Description

This function is for positioning the cursor with absolute values. If the cursor is located at (210, 300) and you pass in 80 for i_xpos and 120 for i_ypos, then the new cursor location will be (80, 120), not (290, 420). For relative motion use MoveCursor().

 

Use

CCursorMngr cursor;
cursor.PlaceCursor(200, 200);
 

Prev: MoveCursor
Next: RemoveAll