1 /* $Id: cefep.h,v 1.1 2000/11/16 14:21:28 amura Exp $ */ 2 /* OS dependent code used by Ng for WinCE. 3 * Copyright (C) 1998 Eiichiro Ito 4 * Modified for Ng for Win32 5 * Copyright (C) 1999,2000 Toru Imai 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * ree Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 */ 21 22 /* 23 * $Log: cefep.h,v $ 24 * Revision 1.1 2000/11/16 14:21:28 amura 25 * merge Ng for win32 0.5 26 * 27 */ 28 29 #define CTRL_FEPBOX TEXT("FEPBOX") 30 31 #define IDM_PEXCEL (41258) 32 #define IDM_UNKNOWN (41259) 33 #define IDM_FEPOK (41260) 34 #define IDM_ACTIVATE (41261) 35 #define IDM_FEPKEY (41262) 36 #define IDM_FEPCHAR (41263) 37 #define IDM_ACTIVATE_HWND (41264) 38 #define IDM_FEPGETMODE (41265) 39 #define IDM_FEPSETMODE (41266) 40 #define IDM_WMCHAR (41267) 41 42 #define IDM_EXPLORE (1) 43 44 #define FEP_ISSENDING (WM_USER+0x0100) 45 46 #ifdef __cplusplus 47 extern "C" { 48 #endif 49 BOOL FepBoxRegisterClass( HINSTANCE hInst ) ; 50 HWND GetCenterWindow() ; 51 void FepSetParent( HWND hWnd, BOOL bForce ) ; 52 BOOL FepSetDict( LPCTSTR dict_path ) ; 53 54 BOOL InitFep( void ) ; 55 void Fep_Execute( HWND hWnd ) ; 56 BOOL Fep_WM_CHAR( HWND hWnd, TCHAR chCharCode, LONG lKeyData ) ; 57 BOOL Fep_WM_SYSCHAR( HWND hWnd, TCHAR chCharCode, LONG lKeyData ) ; 58 BOOL Fep_WM_ACTIVATE( HWND hWnd, WORD fActive, BOOL fMinimize, HWND hWndDeactive ) ; 59 60 extern TCHAR g_szFepName[ MAX_PATH ] ; 61 extern TCHAR g_szFepProgram[ MAX_PATH ] ; 62 extern BOOL g_fKanji ; 63 extern BOOL g_fUseCtrl ; 64 extern BOOL g_fFepOption ; 65 #ifdef __cplusplus 66 } ; 67 #endif 68