|
|
| version 1.14, 2004/02/21 20:48:53 | version 1.16, 2004/06/14 13:35:40 |
|---|---|
| Line 33 | Line 33 |
| #include "vramhdl.h" | #include "vramhdl.h" |
| #include "menubase.h" | #include "menubase.h" |
| #include "sysmenu.h" | #include "sysmenu.h" |
| #if defined(SUPPORT_SOFTKBD) | |
| #include "softkbd.h" | #include "softkbd.h" |
| #endif | |
| static const TCHAR szAppCaption[] = STRLITERAL("Neko Project II"); | static const TCHAR szAppCaption[] = STRLITERAL("Neko Project II"); |
| Line 202 LRESULT CALLBACK WndProc(HWND hWnd, UINT | Line 200 LRESULT CALLBACK WndProc(HWND hWnd, UINT |
| } | } |
| else { | else { |
| #if defined(SUPPORT_SOFTKBD) | #if defined(SUPPORT_SOFTKBD) |
| softkbd_down(LOWORD(lParam), HIWORD(lParam)); | softkbd_down(LOWORD(lParam), HIWORD(lParam) - 200); |
| #endif | #endif |
| } | } |
| } | } |
| Line 346 static DWORD GetModuleFileName_A(HMODULE | Line 344 static DWORD GetModuleFileName_A(HMODULE |
| } | } |
| #endif | #endif |
| #if defined(_WIN32_WCE) | |
| int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInst, | int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInst, |
| LPTSTR lpszCmdLine, int nCmdShow) { | LPWSTR lpszCmdLine, int nCmdShow) |
| #elif defined(UNICODE) | |
| int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPreInst, | |
| LPSTR lpszCmdLine, int nCmdShow) | |
| #else | |
| int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInst, | |
| LPSTR lpszCmdLine, int nCmdShow) | |
| #endif | |
| { | |
| HWND hWnd; | HWND hWnd; |
| WNDCLASS np2; | WNDCLASS np2; |
| int id; | int id; |