No subject


Tue Dec 7 08:03:25 EST 2004


Icon at 50,50.
DC of groupbox at 30,30

Suggestion:

hwnd := GetWindowFromDC(GroupboxDC)
P := Point(50, 50)
MapWindowPoints(Form.Handle, hwnd, @P, 1)

Now P should have the coords relative to the GroupBoxDC

Marc







More information about the Lazarus mailing list