motion of a triangle or polygon inside a polygon


I have developed a polygin Using opengl with MFC. Now I inserted an triangle in one side,and i have taken one msg handler.Now,once I double clicked on polygon the triangle should come to that specified point.
can any one help me…

thanks in advance