Shown in the pictures, I think in the Static Text control code is as follows, the bottom bottom is I according to the video I add the fourth row, over checking is not wrong, is initialized directly, not click control to display images,
//will "about... "Menu item added to the system menu,
//IDM_ABOUTBOX must be in the system command range,
ASSERT ((IDM_ABOUTBOX & amp; 0==IDM_ABOUTBOX xfff0));
ASSERT (IDM_ABOUTBOX & lt; 0 xf000);
CMenu * pSysMenu=GetSystemMenu (FALSE);
If (pSysMenu!=NULL)
{
BOOL bNameValid;
Cstrings strAboutMenu;
BNameValid=strAboutMenu. LoadString (IDS_ABOUTBOX);
ASSERT (bNameValid);
if (! StrAboutMenu. IsEmpty ())
{
PSysMenu - & gt; The AppendMenu (MF_SEPARATOR);
PSysMenu - & gt; AppendMenu (MF_STRING IDM_ABOUTBOX, strAboutMenu);
}
}
//set this dialog ICONS, when the application is the main window is not a dialog, the framework will automatically
//do this
SetIcon (m_hIcon, TRUE);//set the large icon
SetIcon (m_hIcon, FALSE);//set the small icon
//TODO: add additional initialization code in the
# define HBMP (filepatch, width, height) (HBITMAP) LoadImage (AfxGetInstanceHandle (), filepatch, \
IMAGE_BITMAP, width, height, LR_LOADFROMFILE | LR_CREATEDIBSECTION)
Picture. ModifyStyle (0 xf, SS_BITMAP | SS_CENTERIMAGE);
Picture. SetBitmap (HBMP (TEXT (" F: \ \ vc + + \ \ MFCApplication1 \ \ MFCApplication1 \ \ 123. BMP "), 300, 250));
return TRUE;//unless set focus to the control, return TRUE
}