M
Matt Gilarde
Guest
ScreenToClient converts screen coordinates to client coordinates relative to a the window you pass as the first parameter. A widget's X and Y attributes are always relative to the frame which contains the widget. Are you calling ScreenToClient for each frame as you walk through the widgets?
Continue reading...
Continue reading...