m_MGLDC->ellipseArc(xx+ww-rr, yy+rr, rr, rr, 0, 90);
m_MGLDC->line(xx+ww, yy+rr+1, xx+ww, yy+hh-rr);
m_MGLDC->ellipseArc(xx+ww-rr, yy+hh-rr, rr, rr, 270, 0);
m_MGLDC->line(xx+ww-rr, yy+hh, xx+rr+1, yy+hh);
m_MGLDC->ellipseArc(xx+ww-rr, yy+rr, rr, rr, 0, 90);
m_MGLDC->line(xx+ww, yy+rr+1, xx+ww, yy+hh-rr);
m_MGLDC->ellipseArc(xx+ww-rr, yy+hh-rr, rr, rr, 270, 0);
m_MGLDC->line(xx+ww-rr, yy+hh, xx+rr+1, yy+hh);