Home > Software engineering >  Create MFC single document application plus a window class when compiling connection is no problem,
Create MFC single document application plus a window class when compiling connection is no problem,

Time:10-07

WNDCLASS WNDCLS;
WNDCLS. CbClsExtra=0;
WNDCLS. CbWndExtra=0;
WNDCLS. HbrBackground=(HBRUSH) GetStockObject (BLACK_BRUSH);//
WNDCLS. HCursor=LoadCursor (NULL, IDC_HELP);//q shape cursor
WNDCLS. HIcon=LoadIcon (NULL, IDI_ERROR);
WNDCLS. HInstance=AfxGetInstanceHandle ();
WNDCLS. LpfnWndProc=: : DefWindowProc;//
WNDCLS. LpszClassName="Zhou Jiaqi";
WNDCLS. LpszMenuName=NULL;//
WNDCLS. Style=CS_HREDRAW | CS_VREDRAW;

RegisterClass (& amp; WNDCLS);

Cs. LPSZ;//

CodePudding user response:

To download and install MSDN98
MSDN98_1. ISO http://pan.baidu.com/s/1dDF41ix, MSDN98_2. ISO http://pan.baidu.com/s/1bnGo0Vl

Then the inside of the reference "Alphabetical List of MFC Samples"
  • Related