ChgPwd.cpp
上传用户:cydong117
上传日期:2009-11-10
资源大小:638k
文件大小:7k
- #include "stdafx.h"
- #define LOGIN_BUTTON_COUNT 3
- #define LOGIN_INPUT_COUNT 2
- #define LOGIN_IMAGE_COUNT 4
- CLogin::CLogin()
- {
- }
- CLogin::~CLogin()
- {
- }
- VOID CLogin::Create(CWHWilImageData* pxImage)
- {
- INT nLoop;
- // Buttons
- BUTTONINFO LoginProcBtnInfo[] = {
- { IMG_IDX_BTN_NEW, POS_BTN_NEW_X, POS_BTN_NEW_Y, LOGBTN_WIDTH, LOGBTN_HEIGHT}, // OK Button
- { IMG_IDX_BTN_CHGPASS, POS_BTN_CHG_X, POS_BTN_CHG_Y, LOGBTN_WIDTH, LOGBTN_HEIGHT}, // New Account
- { IMG_IDX_BTN_OK, POS_BTN_OK_X, POS_BTN_OK_Y, LOGBTN_WIDTH, LOGBTN_HEIGHT} // Change Password
- };
- // EditBox State
- INPUTSTATE LoginInputState[] = {
- { LGM_INPUT_ID, POS_ID_INS_X, POS_ID_INS_Y, 126, 15, 0, 10, "