资 源 简 介
应用背景CPasswordKeyboard::CPasswordKeyboard() : CDialog(IDD_PASSWORD_KEYBOARD)
{
//设置变量
m_nRandLine[0]=rand()%11;
m_nRandLine[1]=rand()%10;
m_nRandLine[2]=rand()%13;
m_nRandLine[3]=rand()%13;
//键盘状态
m_bShiftStatus=false;
m_bCapsLockStatus=false;
//状态变量
m_bMouseDown=false;
m_wHoverRow=INVALID_WORD;
m_wHoverLine=INVALID_WORD;
//键盘字符
m_nItemCount[0]=11;
lstrcpyn(m_szKeyboradChar[0][0],TEXT("`1234567890"),CountArray(m_szKeyboradChar[0][0]));
lstrcpyn(m_szKeyboradChar[0][1],TEXT("~!@#$%^&*()"),CountArray(m_szKeyboradChar[0][1]));
//键盘字符
m_nItemCount[1]=10;
lstrcpyn(m_szKeyboradChar[1][0],TEXT("-=[]\;",./"),CountArray(m_szKeyboradChar[1][0]));
lstrcpyn(m_szKeyboradChar[1][1],TEXT("_+{}|:"<>?"),CountArray(m_szKeyboradChar[1][1]));
//