Void CMYVIEW :: OnChar (uint nchar, uint nrepcnt, uint nflags)
{
// Todo: add your message handler code here and / or call default
CClientDC DC (this);
CRECT RECT;
Dc.getClipbox (Rect);
CSIZE SIZE;
Size = dc.gettextextent (lpctstr) & nchar);
Pos.x = size.cx;
IF (Pos.x> Rect.width () - 10)
{
POS.Y = size.cy;
Pos.x = 10;
}
Dc.Textout (Pos.x, Pos.y, (LPCTSTSTSTSTSTSTSTSTS & NCHAR);
CView :: OnChar (nchar, nrepcnt, nflags);
}