How to change the Size of CButton at Runtime?

Submitted by: Administrator
CButton *btnsample = (CButton *)GetDlgItem(IDC_BUTTON1);///suppose IDC_BUTTON1 is the ID of CButton/
btnsample->SetWindowPos(0,0,0,100,100,SWP_FRAMECHANGED);
Submitted by: Administrator

Read Online Visual C++ Job Interview Questions And Answers