Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Corrisponde al parametro nCmdShow passato da Windows a WinMain.
int m_nCmdShow;
Note
Passare m_nCmdShow come argomento quando si chiama CWnd::ShowWindow per la finestra principale dell'applicazione.m_nCmdShow è una variabile pubblica di tipo int.
Esempio
// The following code fragment is taken from CMyApp::InitInstance.
// CMyApp is derived from CWinApp.
// The main window has been initialized, so show and update it
// using the nCmdShow parameter passed to the application when it
// was first launched.
// pMainFrame is the main MDI frame window of our app and is derived
// from CMDIFrameWnd.
pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();
Requisiti
Header: afxwin.h