Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
20 Jan 2013Bernhard Hiller
Your window must subscribe to a mouse event, e.g. MouseClick, MouseDown, or MouseMove. The EventArgs of that event will tell you the mouse coordinates - already relative to your window, not to the screen as with the Delphi function. Hence there's no need to substract the position (RendX, RendY)...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.