マウスカーソルの位置を得る


GetCursorPos(&point); // マウスクリックの位置を取得する
ScreenToClient(&point);

// point.x << X位置
// point.y << Y位置