Table of Contents

 
GetCursorX
 

Purpose

Gets the X location of the cursor

 

Protoype

int CCursorMngr::GetCursorX ()
 

Description

This function gets the current mouse position and returns the X value.

 

Use

CCursorMngr cursor;
int x_pos = cursor.GetCursorX();
 

Prev: GetCurrentCursorID