Check
Re: RightClick() in RTF-Control Message #
1006958>
>a simple question,
>I want to get the x , y position of the cursor.
>I'm using GetCursorPos() but it retrieves the position relative to the screen, and I need the position relative to the active window.
>
<snip>
--sb--