China Naming Network - Fortune telling knowledge - How to use VC programming to get rid of untitled names? Here is the window of the program written by others, with a title clearly.
How to use VC programming to get rid of untitled names? Here is the window of the program written by others, with a title clearly.
BOOL CMainFrame::pre create window(create struct & amp; cs)
{
If (! CFrameWnd::PreCreateWindow(cs))
Returns FALSE
// TODO: Modify the window class or style here through modification.
cs.style & amp= ~ FWS _ ADDTOTITLE;
cs.lpszName = " NetView
Return TRUE
}