单击CMFCButton后如何删除边框焦点(点矩形)? 这是我创建按钮的代码。
CMFCButton btn_Phone.ModifyStyle(0, BS_ICON);
btn_Phone.m_nFlatStyle = CMFCButton::BUTTONSTYLE_NOBORDERS;
HICON hIcnPhone = (HICON)LoadImage(
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(IDI_PHONE),
IMAGE_ICON,
17, 17,
LR_DEFAULTCOLOR
);
btn_Phone.SetIcon(hIcnPhone);