kawauchik #354(2007/07/08 14:07 GMT) [ C++ ] Rating-1/1=-1.00
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
#include <afxwin.h> class CMainWindow : public CFrameWnd { public: CMainWindow() { CRect rect(0, 0, 400, 300); Create(NULL, _T("こんにちは、GUI!"), WS_OVERLAPPEDWINDOW, rect); CenterWindow(); }; }; class CHelloGUIApp : public CWinApp { public: virtual BOOL InitInstance() { m_pMainWnd = new CMainWindow(); m_pMainWnd->ShowWindow(m_nCmdShow); m_pMainWnd->UpdateWindow(); return TRUE; } }; CHelloGUIApp helloGUIApp;
Rating-1/1=-1.00-0+
1 reply [ reply ]
kawauchik
#354()
[
C++
]
Rating-1/1=-1.00
Rating-1/1=-1.00-0+
1 reply [ reply ]