티스토리 뷰
#include <afxwin.h>
class CMyWinApp : public CWinApp
{
public:
BOOL InitInstance()
{
CFrameWnd *pFrameWnd = new CFrameWnd;
m_pMainWnd = pFrameWnd;
pFrameWnd->Create(0, TEXT("Hello")); // calls ::RegisterClass & ::CreateWindow
pFrameWnd->ShowWindow(SW_SHOW); // calls ::ShowWindow
pFrameWnd->UpdateWindow(); // calls ::UpdateWindow
return TRUE;
}
};
CMyWinApp theApp;
class CMyWinApp : public CWinApp
{
public:
BOOL InitInstance()
{
CFrameWnd *pFrameWnd = new CFrameWnd;
m_pMainWnd = pFrameWnd;
pFrameWnd->Create(0, TEXT("Hello")); // calls ::RegisterClass & ::CreateWindow
pFrameWnd->ShowWindow(SW_SHOW); // calls ::ShowWindow
pFrameWnd->UpdateWindow(); // calls ::UpdateWindow
return TRUE;
}
};
CMyWinApp theApp;
class CFrameWnd : public CWnd
CFrameWnd::Create > CWnd::CreateEx >
- CFrameWnd::PreCreateWindow > AfxDeferRegisterClass > _AfxRegisterWithIcon > AfxRegisterClass > ::RegisterClass
- ::CreateWindowEx
[MFC] Simplified MFC Structure
'Code > C C++' 카테고리의 다른 글
[C++] vector shared_ptr sample (0) | 2010.05.15 |
---|---|
[MFC] Simplified MFC Structure (0) | 2010.04.24 |
[C++] Regular Expressions Class: regex (0) | 2010.04.18 |
[C++/CLI] #pragma managed, #pragma unmanaged (0) | 2009.05.09 |
[C++/CLI] #pragma managed, #pragma unmanaged, Windows API (0) | 2009.05.09 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- download.com
- iText
- Rollback Rx
- jre
- ScreenHunter
- Sample Code
- Regular Expressions
- tagREADYSTATE
- windows
- .net framework
- 애드센스숨기기
- Phalanger
- AdSense숨기기
- DotNetMagic
- AxWebBrowser
- registry
- autohotkey
- AdSense감추기
- READYSTATE_COMPLETE
- 애드센스감추기
- iTextSharp
- Automation
- java
- c#
- WinAutomation
- Service pack
- Microsoft
- 유틸리티
- 스크린캡쳐
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함