E D R , A S I H C RSS

BackLinks search for "InitInstance"

BackLinks of InitInstance


Search BackLinks only
Display context of search results
Case-sensitive searching
  • CxImage 사용
         App Class 에서 InitInstance() 의 아래부분 주석 처리
  • GuiTestingWithMfc
         이는 App 클래스의 InitInstance 함수에서 해준다.
         BOOL CGuiTestingOneApp::InitInstance()
         여기까지로 생각해놓은 테스트들이 전부 완료. 앞에 InitInstance 에 써 넣은 주석을 풀고, 실제로 실행해보자.
         BOOL CGuiTestingOneApp::InitInstance()
  • MoreMFC
          virtual BOOL InitInstance ();
         // CWinApp::InitInstance를 override한 가상함수이다.
         BOOL CMyApp::InitInstance ()
         떡하니 source를 보면 어떻게 돌아가는 거야.. --; 라는 생각이 든다.. 나도 잘모른다. 그런데 가장 중요한것은 global영역에 myApp라는 변수가 선언되어 있다는 사실이다. myApp 라는 instance가 이 프로그램의 instance이다. --a (최초의 프로그램으로 인스턴스화..) 그리고, CWinApp를 상속한 CMyApp에 있는 유일한 함수 initInstance 에서 실제 window를 만들어준다.(InitInstance함수는 응용 프로그램이 처음 생길 때, 곡 window가 생성되기전, 응용 프로그램이 시작한 바로 다음에 호출된다) 이 부분에서 CMainWindow의 instance를 만들어 멤버 변수인 m_pMainWnd로 pointing한다. 이제 window는 생성 되었다. 그렇지만, 기억해야 할 것이 아직 window는 보이지 않는다는 사실이다. 그래서, CMainWindow의 pointer(m_pMainWindow)를 통해서 ShowWindow와 UpdateWindow를 호출해 준다. 그리고 TRUE를 return 함으로써 다음 작업으로 진행 할 수 있게 해준다.... 흘. 영서라 뭔소린지 하나도 모르겠네~ 캬캬.. ''' to be continue..'''[[BR]]
Found 3 matching pages out of 7540 total pages

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.0090 sec