4 Made by Studio Breeze. 2002
\r
11 #include "sted_screen_win32.h"
\r
12 #include "sted_dialogs.h"
\r
13 #include "mmsystem.h"
\r
17 // HINSTANCE hInst; // 現在のインターフェイス
\r
19 //HWND hwndMain = NULL;
\r
20 //HMENU hmenu = NULL;
\r
21 //HACCEL gAccelTable = NULL;
\r
23 //ATOM MyRegisterClass(HINSTANCE hInstance);
\r
24 //BOOL InitInstance(HINSTANCE, int);
\r
25 //LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
\r
26 LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
\r
28 //static LRESULT Player_PlayAll(CSTedScreenWin32* in_drv);
\r
29 //static LRESULT Player_PlayTrack(CSTedScreenWin32* in_drv);
\r
30 //static LRESULT Player_PlayMeas(CSTedScreenWin32* in_drv);
\r
31 //static LRESULT Player_PlayStop(CSTedScreenWin32* in_drv);
\r
32 //static LRESULT Player_ToggleTrace(CSTedScreenWin32* in_drv);
\r
33 //static LRESULT RhythmEdit_CurrentMeas(CSTedScreenWin32* in_drv);
\r
34 //static LRESULT RhythmEdit_NewMeas(CSTedScreenWin32* in_drv);
\r
36 int main(int argc, char *argv[]);
\r
39 //HWND STedGetWindow(void)
\r
44 //HMENU STedGetMenu(void)
\r
46 // return ::GetMenu(hwndMain);
\r
49 //HDC STedGetWindowDC(void)
\r
51 // return ::GetDC(hwndMain);
\r
54 //HINSTANCE STedGetAppInstance(void)
\r
58 //HACCEL STedGetAccelTable(void)
\r
60 // return gAccelTable;
\r
63 int APIENTRY WinMain(HINSTANCE hInstance,
\r
64 HINSTANCE hPrevInstance,
\r
68 sf::com_initialize com_init_;
\r
70 CSTedScreenWin32::init_instance();
\r
80 CSTedScreenWin32::instance()->Tidy();
\r
81 CSTedScreenWin32::instance().reset();
\r
89 //ATOM MyRegisterClass(HINSTANCE hInstance)
\r
93 // wcex.cbSize = sizeof(WNDCLASSEX);
\r
95 // wcex.style = CS_HREDRAW | CS_VREDRAW;
\r
96 // wcex.lpfnWndProc = (WNDPROC)WndProc;
\r
97 // wcex.cbClsExtra = 0;
\r
98 // wcex.cbWndExtra = 0;
\r
99 // wcex.hInstance = hInstance;
\r
100 // wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_STED2);
\r
101 // wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
\r
102 // wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
\r
103 // wcex.lpszMenuName = (LPCTSTR)IDC_STED2;
\r
104 // wcex.lpszClassName = szWindowClass;
\r
105 // wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
\r
107 // return RegisterClassEx(&wcex);
\r
110 //BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
\r
114 // hInst = hInstance; // グローバル変数にインスタンス処理を格納します。
\r
116 // hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
\r
117 // CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
\r
124 // hwndMain = hWnd;
\r
126 // ShowWindow(hWnd, nCmdShow);
\r
127 // UpdateWindow(hWnd);
\r