Questions tagged [cbutton]

CButton is a class that represents a button control in the MFC

CButton is a public class in the MFC that represents the button window class of the Windows API.

32 questions
0
votes
1 answer

SetCheck for multiple buttons or using converting strings to defines

I have 32 check boxes and I need to enable all of them. I can do them individually by using: CButton* button; button = (CButton *)GetDlgItem(IDC_CHECK1); button->SetCheck(BST_CHECKED); button = (CButton…
Pladnius Brooks
  • 1,248
  • 3
  • 19
  • 36
-1
votes
1 answer

Displaying symbolic fonts on CButton mfc

I need to display symbolic font on CButton of mfc. How to achieve this? A code sample is more helpful.The symbolic fonts can be from webdings or cusotm installed font. I tried the below mentioned code but it is not working. I put this code in…
1 2
3