{
CPaintDC dc (this);//device context for painting
BOOL bRes=FALSE;
BRes=dc. TextOut (100, 300, _T (" Hello MFC "));
}
CodePudding user response:
In the View of ontouch drawCodePudding user response:
In the MainFrame is the view, so is covered by the view, close all the view (MDI)CodePudding user response:
CMainFrame generally there are a MDIClient type before the window, obscured, shows, you can't seeCodePudding user response:
On the first floor is solution!!!!!CodePudding user response:
Certainly not displayed, if it is a dialog box to display output in the onpaint, see you this should be a single document, it should be in ontouch output display