Hi,
I am trying to extract the cursor co-ordinates from the OnMouseMove(), but am unable to get the x y data from the CPoint type into a more usable int type. I am doing this as I want to be able to use the position of the mouse in a SWITCH{CASE} statement, and SWITCH doesn't accept CPoint types.
Any suggestions much appreciated.
Rgds
Richard
I am trying to extract the cursor co-ordinates from the OnMouseMove(), but am unable to get the x y data from the CPoint type into a more usable int type. I am doing this as I want to be able to use the position of the mouse in a SWITCH{CASE} statement, and SWITCH doesn't accept CPoint types.
Any suggestions much appreciated.
Rgds
Richard