Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/CEditCtrl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Sun Aug 15 01:53:13 2010 UTC (13 years, 9 months ago) by okadu
File MIME type: text/x-chdr
File size: 685 byte(s)


1 #ifndef CEDITCTRL_H_INCLUDED
2 #define CEDITCTRL_H_INCLUDED
3
4 #include "CInterface.h"
5
6 // 内部定数
7 const int EB_OFSX = 3; // 編集位置
8
9 /*
10 * エディットコントロール
11 */
12 class CEditCtrl: public CInterface{
13 private:
14 int m_State; // 状態
15 int m_StrMax; // 最大文字数
16 bool m_KeepImm; // IMM 状態保持
17 bool m_CompDelay; // 変換ディレイ
18 CEditBox m_EditBox; // エディットボックス
19 public:
20 void Init(int, int, int, int, char *, CInterface *, int);
21 void GiveFocus(bool snd = true);
22 void SetKeepIMM(bool imm){ m_KeepImm = imm; }
23 void FinishInput();
24 bool IsComp(){ return m_CompDelay; }
25 string GetRealtimeText();
26 bool ScanInput();
27 void Render();
28 };
29
30 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26