Пример #1
0
void CUILines::DelLeftChar() {
    if (m_iCursorPos>0)
    {
        DecCursorPos();
        DelChar();
    }
}
Пример #2
0
void CObjectInput::DelWChar()
{
//	USHORT* pwch;

	if(m_idxInput > 1)
	{
		if( (m_szInput[m_idxInput-1] >= 0xA1) && (m_szInput[m_idxInput-1] <= 0xFE) )
		{
			m_szInput[m_idxInput-2] = ' ';
			m_szInput[m_idxInput-1] = ' ';
			m_idxInput-=2;
			Draw();
		}
		else
		{
			DelChar();
		}
	}
}