End Google Ads 201810 - BS.net 01 --> MFC, STUDIO 2008, MDI
CButton m_button1;
CString font(L"Courier New");
m_button1.SetFont(font,20); // error C2664: 'CWnd::SetFont' : cannot convert parameter 1 from 'const wchar_t [12]' to 'CFont *'

m_button1.SetFont(L"Courier New",20); // error C2664: 'CWnd::SetFont' : cannot convert parameter 1 from 'const wchar_t [12]' to 'CFont *'

2. // How do to set BOLD FONT on button?
m_button1.SetFont(L"Courier New",20,600); // error C2660: 'CWnd::SetFont' : function does not take 3 arguments

Add
#include "afxctl.h"
class CFontHolder; // add into header file my class where is command button
that I want write caption.