CWnd 弹框

//弹框

CWnd *p2 = new CWnd();

p2->CreateEx(NULL,AfxRegisterWndClass(CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW, 

AfxGetApp()->LoadStandardCursor(IDC_ARROW), 

        (HBRUSH)::GetStockObject(NULL_BRUSH)), NULL,WS_OVERLAPPED/*WS_VISIBLE | WS_POPUP|WS_CLIPCHILDREN*/,CRect(0,0,300,200),this,NULL);

p2->ShowWindow(SW_SHOW);


你可能感兴趣的:(CWnd 弹框)