一个简单的登陆UI类 CUIPicture::CUIPicture(void) { m_hide = false; } CUIPicture::~CUIPicture(void) { } VOID CUIPicture::Init(int x, int y, HDC& hdc,char * strName ) { nX = x; nY = y; m_hdc =&hdc; m_Hdc = CreateCompatibleDC( hdc ); m_Img = (HBITMAP)LoadImage(NULL,strName,IMAGE_BITMAP,0,0,LR_LOADFROMFI