I am drawing a Circle in mouse clicked event in CDialog. and when i move the mouse if the mouse entered inside the Circle the Mouse Icon must change to CROSS ie IDC_CROSS or else it should retain its original behavior (ie) IDC_ARROW.
I want to detect that wheather the mouse is inside the Circle or Not to change my Mouse Pointer.
Please help me out. Give a small program using IntersectRect(...) API.