I’ve not been able to find this out, which seems weird. When I add a class variable for the control using the wizard, it wants to add a CButton. Is there a specific control or does one of the basic ones provide this function?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to display an icon or a bitmap in your dialog, you usually want to use a
CStaticcontrol.A CStatic can either display an HICON or an HBITMAP, see CStatic::SetBitmap and CStatic::SetIcon.
It’s also possible to directly choose an icon or image resource for the control in the dialog editor.