Like any other control, you can retrieve its position with:
GetCtrlAttribute (panel, control, ATTR_LEFT, &LeftPos);
GetCtrlAttribute (panel, control, ATTR_TOP, &TopPos);
and move to a new position with:
SetCtrlAttribute (panel, control, ATTR_LEFT, newLeftPos);
SetCtrlAttribute (panel, control, ATTR_TOP, NewTopPos);