for(unsigned short uCntr = 0; uCntr<=tRcsStructure.tSysSetting.ucMaxStationNumbers-1; uCntr++) { unsigned short x_pos = 45; m_PenColor.CreatePen(PS_SOLID,2,m_dwColour[uCntr]); pDC.SelectObject(m_PenColor);pDC.MoveTo(63,(135 + (uCntr * x_pos))); pDC.LineTo(96,(135 + (uCntr * x_pos))); pDC.MoveTo(63,(117 + (uCntr * x_pos))); pDC.LineTo(63,(135 + (uCntr * x_pos))); pDC.MoveTo(63,(117 + (uCntr * x_pos))); pDC.LineTo(96,(135 + (uCntr * x_pos))); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)