Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CbuttonfocusDlg::OnBnClickedButton3()
- {
- // TODO: Add your control notification handler code here
- GetDlgItem(IDC_BUTTON1)->SetFocus();
- Invalidate();
- }
- static_cast<CButton*>(GetDlgItem(IDC_BUTTON1))->SetButtonStyle(BS_DEFPUSHBUTTON);
- this->m_myButton.SetButtonStyle(BS_DEFPUSHBUTTON);
Add Comment
Please, Sign In to add comment