I found a strange effect, converting mouse screen coordinates
to child window coordinates of a STATIC window inside a dialog.

Using MapWindowPoints - no problem.
Using ScreenToClient - result wrong.

The seond function seems to map the point only to the dialog
window, not to its child.

is it:


This behavior is by design.
Posted on 2001-11-14 08:17:19 by beaster