Lines Matching refs:pTenKey
246 TenKey* pTenKey = (TenKey*)pParam; in MyControlEventCallback() local
254 pTenKey->m_state = STATE_OK; in MyControlEventCallback()
259 pTenKey->m_state = STATE_CANCELLED; in MyControlEventCallback()
264 pTenKey->Reset(NULL); in MyControlEventCallback()
269 if (pTenKey->m_cursor > 0) in MyControlEventCallback()
272 pTenKey->m_pInput[--pTenKey->m_cursor] = '\0'; in MyControlEventCallback()
273 … pTenKey->m_controlManager.FindBy(CONTROL_ID_INPUT_BASE + pTenKey->m_cursor)->SetText(L""); in MyControlEventCallback()
275 if (pTenKey->m_cursor < pTenKey->m_numLowestChars) in MyControlEventCallback()
278 … pTenKey->m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DISABLED); in MyControlEventCallback()
287 if (pTenKey->m_cursor < pTenKey->m_length) in MyControlEventCallback()
289 if (pTenKey->m_isPassword) in MyControlEventCallback()
291 … pTenKey->m_controlManager.FindBy(CONTROL_ID_INPUT_BASE + pTenKey->m_cursor)->SetText(L"*"); in MyControlEventCallback()
298 … pTenKey->m_controlManager.FindBy(CONTROL_ID_INPUT_BASE + pTenKey->m_cursor)->SetText(text); in MyControlEventCallback()
301 pTenKey->m_pInput[pTenKey->m_cursor++] = '0' + controlId; in MyControlEventCallback()
304 if (pTenKey->m_cursor >= pTenKey->m_numLowestChars) in MyControlEventCallback()
307 … pTenKey->m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DEFAULT); in MyControlEventCallback()