How to do excuse me?
I will only dynamically generates a button now, other all can't,,,,
M_btn. Create (L "DDD", BS_DEFPUSHBUTTON | WS_VISIBLE | WS_CHILD, CRect (0, 0, 100, 100), and this, 123);
On the click the error, strives for the solution,
Bosses give directions, thank you
CodePudding user response:
//new controlsCButton * pBtn=new CButton;
PBtn - & gt; Create (_T (" Test "), the WS_CHILD | WS_VISIBLE, CRect,0,100,100 (0), and this, XXXX);
//added to the list of management, so that when not clear
//CArrayM_Btns. Add (pBtn);
CodePudding user response:
Can drag DrawCLI sample to reference