//取消IDC_BUTTON1的默认按钮属性,设置IDC_BUTTON2为默认按钮
CButton *pokbutton1 = (CButton *)GetDlgItem(IDC_BUTTON1);
pokbutton1->ModifyStyle(BS_DEFPUSHBUTTON,FALSE);
CButton *pokbutton2 = (CButton *)GetDlgItem(IDC_BUTTON2);
pokbutton2->ModifyStyle(BS_DEFPUSHBUTTON,TRUE);
上面的代码怎么设置不成功呀
我将ModifyStyle换成SetButtonStyle也不行
CButton *pokbutton1 = (CButton *)GetDlgItem(IDC_BUTTON1);
pokbutton1->ModifyStyle(BS_DEFPUSHBUTTON,FALSE);
CButton *pokbutton2 = (CButton *)GetDlgItem(IDC_BUTTON2);
pokbutton2->ModifyStyle(BS_DEFPUSHBUTTON,TRUE);
上面的代码怎么设置不成功呀
我将ModifyStyle换成SetButtonStyle也不行
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货