Table of Contents | ||||
|
||||
MoveCursor | ||||
Purpose Moves the cursor given relative coordinates (change in x,y) |
||||
Protoype void CCursorMngr::MoveCursor (int i_dx, int i_dy) |
||||
Parameters
|
||||
Description This function moves a cursor object based on relative motion. So if the cursor is at (120, 20) and you pass in 10 for i_dx and 25 for i_dy, the new cursor location would be (130, 45), not (10, 25). Use PlaceCursor() for absolute repositioning. |
||||
Use CCursorMngr cursor; // shift cursor 5 pixels to the left cursor.MoveCursor(-5, 0); |
||||
|
||||
|