about uscontact

최대화된 SDI 윈도우를 실행하려면

Category:
Author: zemna
Date: April 17, 2021
Share this:

+ 최대화된 SDI 윈도우를 실행하려면

CWinApp의 InitInstance 함수에서 다음과 같이 코드를 변경해 주면

가능합니다.

원래 코드

BOOL CMailApp::InitInstance() {

. m_pMainWnd->ShowWindow(SW_SHOW);

m_pMainWnd->UpdateWindow();

return TRUE;

}

바뀐 코드

BOOL CMailApp::InitInstance() {

. m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);

m_pMainWnd->UpdateWindow();

return TRUE;

}

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *

ZEMNA.NET

Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
magnifiercrossmenu