home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------
- // EMEDIT.H generated from EMEDIT.VBX by
- // VbxGen 1.0 - Borland International
- //--------------------------------------------------------
-
- #ifdef __OWL_OWLDEFS_H
- #include <owl\vbxctl.h>
- #endif
-
- //--------------------------------------------------------
- // Editor (VB1)
- //--------------------------------------------------------
-
- // properties
- #define Prop_Editor_CtlName 0
- #define Prop_Editor_Index 1
- #define Prop_Editor_hWnd 2
- #define Prop_Editor_BackColor 3
- #define Prop_Editor_ForeColor 4
- #define Prop_Editor_Left 5
- #define Prop_Editor_Top 6
- #define Prop_Editor_Width 7
- #define Prop_Editor_Height 8
- #define Prop_Editor_Enabled 9
- #define Prop_Editor_Visible 10
- #define Prop_Editor_MousePointer 11
- #define Prop_Editor_FontName 12
- #define Prop_Editor_FontBold 13
- #define Prop_Editor_FontItalic 14
- #define Prop_Editor_FontStrikethru 15
- #define Prop_Editor_FontUnderline 16
- #define Prop_Editor_FontSize 17
- #define Prop_Editor_TabIndex 18
- #define Prop_Editor_Parent 19
- #define Prop_Editor_DragMode 20
- #define Prop_Editor_DragIcon 21
- #define Prop_Editor_TabStop 22
- #define Prop_Editor_Tag 23
- #define Prop_Editor_Text 24
- #define Prop_Editor_BorderStyle 25
- #define Prop_Editor_Unused1 26
- #define Prop_Editor_Unused2 27
- #define Prop_Editor_Unused3 28
- #define Prop_Editor_Unused4 29
- #define Prop_Editor_Unused5 30
- #define Prop_Editor_Unused6 31
- #define Prop_Editor_Unused7 32
- #define Prop_Editor_Unused8 33
- #define Prop_Editor_Unused9 34
- #define Prop_Editor_ScrollBars 35
- #define Prop_Editor_FileOpen 36
- #define Prop_Editor_FileSave 37
- #define Prop_Editor_SelDefaultType 38
- #define Prop_Editor_InsertMode 39
- #define Prop_Editor_IsDirty 40
- #define Prop_Editor_Action 41
- #define Prop_Editor_Count 42
- #define Prop_Editor_TopY 43
- #define Prop_Editor_TextIndex 44
- #define Prop_Editor_CaretX 45
- #define Prop_Editor_CaretY 46
- #define Prop_Editor_SelMark 47
- #define Prop_Editor_SelStartX 48
- #define Prop_Editor_SelStartY 49
- #define Prop_Editor_SelEndX 50
- #define Prop_Editor_SelEndY 51
- #define Prop_Editor_SelText 52
- #define Prop_Editor_Redraw 53
- #define Prop_Editor_LeftHi 54
- #define Prop_Editor_RightHi 55
- #define Prop_Editor_Password 56
- #define Prop_Editor_ReadOnly 57
- #define Prop_Editor_TopMargin 58
- #define Prop_Editor_BottomMargin 59
- #define Prop_Editor_LeftMargin 60
- #define Prop_Editor_RightMargin 61
- #define Prop_Editor_SelForeColor 62
- #define Prop_Editor_SelBackColor 63
- #define Prop_Editor_TabDefaultWidth 64
- #define Prop_Editor_TabCount 65
- #define Prop_Editor_TabMark 66
- #define Prop_Editor_WrapY 67
- #define Prop_Editor_WrapWholeWords 68
- #define Prop_Editor_hFont 69
- #define Prop_Editor_CaretWidth 70
- #define Prop_Editor_CaretHeight 71
- #define Prop_Editor_LinesPerWindow 72
- #define Prop_Editor_FullLinesPerWindow 73
- #define Prop_Editor_CanUndo 74
- #define Prop_Editor_CanRedo 75
- #define Prop_Editor_UndoLimit 76
- #define Prop_Editor_SearchTarget 77
- #define Prop_Editor_SearchReplacement 78
- #define Prop_Editor_SearchOrigin 79
- #define Prop_Editor_SearchTo 80
- #define Prop_Editor_SearchCaseSensitive 81
- #define Prop_Editor_SearchWholeWordsOnly 82
- #define Prop_Editor_SearchResult 83
- #define Prop_Editor_EndOfCustomProperties 84
-
- // events
- #define Event_Editor_Click 0
- #define Event_Editor_DblClick 1
- #define Event_Editor_DragDrop 2
- #define Event_Editor_DragOver 3
- #define Event_Editor_GotFocus 4
- #define Event_Editor_KeyDown 5
- #define Event_Editor_KeyPress 6
- #define Event_Editor_KeyUp 7
- #define Event_Editor_LostFocus 8
- #define Event_Editor_MouseDown 9
- #define Event_Editor_MouseMove 10
- #define Event_Editor_MouseUp 11
- #define Event_Editor_FindWordBreak 12
- #define Event_Editor_SelChange 13
- #define Event_Editor_TopYChange 14
- #define Event_Editor_CaretChange 15
- #define Event_Editor_Change 16
- #define Event_Editor_SearchReplaceConfirm 17
- #define Event_Editor_BeginMessage 18
- #define Event_Editor_ProcessMessage 19
- #define Event_Editor_EndMessage 20
-
- // default form data
- //
- // Some VBX controls do not operate correctly when created without
- // a form file. This occurs when a program creates a control
- // dynamically rather than as part of a dialog resource. If this
- // control exhibits problems in this mode, try creating it with the
- // following form data:
- //
- // For OWL programs:
- //
- // TVbxEditor* c = new TVbxEditor(..., sizeof(EditorData), EditorData);
- //
- // For C/C++ programs:
- //
- // HFORMFILE file = VBXCreateFormFile(sizeof(EditorData), EditorData);
- // HCTL c = VBXCreate(..., file);
- // VBXDeleteFormFile(file);
- //
- // Note that the VBXGEN_DATA or Editor_DATA symbol must be
- // defined in order to use the default form data.
- //
- extern BYTE EditorData[151L];
- #if defined(VBXGEN_DATA) || defined(Editor_DATA)
- BYTE EditorData[151L]={
- 0x23,0x03,0x01,0x00,0x00,0x03,0xff,0xff,
- 0xff,0x00,0x04,0x00,0x00,0x00,0x00,0x05,
- 0x09,0xff,0xff,0x0a,0xff,0xff,0x0b,0x00,
- 0x0c,0x40,0x01,0x07,0x00,0x00,0x00,0x00,
- 0x00,0xbc,0x02,0x00,0x00,0x00,0x00,0x01,
- 0x02,0x02,0x22,0x53,0x79,0x73,0x74,0x65,
- 0x6d,0x00,0x41,0x50,0x00,0x2e,0x4f,0x50,
- 0x00,0x2e,0x4f,0x6f,0x41,0x17,0x27,0x73,
- 0x19,0x7f,0x41,0x50,0x00,0x2e,0x4f,0x64,
- 0x17,0x00,0x58,0x12,0x00,0x00,0x14,0x00,
- 0x16,0x01,0x00,0x17,0x00,0x19,0x01,0x24,
- 0x00,0x26,0x01,0x27,0xff,0xff,0x38,0x00,
- 0x00,0x00,0x00,0x39,0x00,0x00,0x3a,0x00,
- 0x00,0x3b,0x00,0x00,0x3c,0x00,0x00,0x3d,
- 0x00,0x00,0x3e,0xff,0xff,0xff,0x00,0x3f,
- 0x00,0x00,0x00,0x00,0x40,0xff,0xff,0x46,
- 0xff,0xff,0x47,0xff,0xff,0x4c,0xff,0x00,
- 0x4d,0x00,0x4e,0x00,0x4f,0x00,0x50,0x01,
- 0x51,0x00,0x00,0x52,0x00,0x00,0xff,
- };
- #endif
-
- #ifdef __OWL_VBXCTL_H
-
- // OWL class
- class TVbxEditor : public TVbxControl {
- public:
-
- // constructors
- TVbxEditor(TWindow* parent, int id, LPCSTR title,
- int x, int y, int w, int h,
- long initLen=0, void far* initData=0, TModule* module=0) :
- TVbxControl(parent, id, "EMEDIT.VBX", "Editor",
- title, x, y, w, h, initLen, initData, module) {}
-
- TVbxEditor(TWindow* parent, int resourceId, TModule* module=0) :
- TVbxControl(parent, resourceId, module) {}
-
- #if 0
- // event handlers
- void EvClick(VBXEVENT FAR*)
- {
- // no arguments
- }
-
- void EvDblClick(VBXEVENT FAR*)
- {
- // no arguments
- }
-
- void EvDragDrop(VBXEVENT FAR*)
- {
- // Source As Control,X As Integer,Y As Integer
- }
-
- void EvDragOver(VBXEVENT FAR*)
- {
- // Source As Control,X As Integer,Y As Integer,State As Integer
- }
-
- void EvGotFocus(VBXEVENT FAR*)
- {
- // no arguments
- }
-
- void EvKeyDown(VBXEVENT FAR*)
- {
- // KeyCode As Integer,Shift As Integer
- }
-
- void EvKeyPress(VBXEVENT FAR*)
- {
- // KeyAscii As Integer
- }
-
- void EvKeyUp(VBXEVENT FAR*)
- {
- // KeyCode As Integer,Shift As Integer
- }
-
- void EvLostFocus(VBXEVENT FAR*)
- {
- // no arguments
- }
-
- void EvMouseDown(VBXEVENT FAR*)
- {
- // Button As Integer,Shift As Integer,X As Integer,Y As Integer
- }
-
- void EvMouseMove(VBXEVENT FAR*)
- {
- // Button As Integer,Shift As Integer,X As Integer,Y As Integer
- }
-
- void EvMouseUp(VBXEVENT FAR*)
- {
- // Button As Integer,Shift As Integer,X As Integer,Y As Integer
- }
-
- void EvFindWordBreak(VBXEVENT FAR*)
- {
- // CurrentY As Long, CurrentX as Long, NextY As Long, NextX as Long
- }
-
- void EvSelChange(VBXEVENT FAR*)
- {
- // OldSelStartX As Long, OldSelStartY as Long, OldSelEndX As Long, OldSelEndY as Long, OldSelMark as Integer
- }
-
- void EvTopYChange(VBXEVENT FAR*)
- {
- // OldTopY As Long
- }
-
- void EvCaretChange(VBXEVENT FAR*)
- {
- // OldCaretX As Long, OldCaretY as Long
- }
-
- void EvChange(VBXEVENT FAR*)
- {
- // no arguments
- }
-
- void EvSearchReplaceConfirm(VBXEVENT FAR*)
- {
- // Confirmation as Integer
- }
-
- void EvBeginMessage(VBXEVENT FAR*)
- {
- // HControl As Long, HWindow As Integer, Message As Integer, WParam As Integer, LParam As Long, fProcessMessage As Integer
- }
-
- void EvProcessMessage(VBXEVENT FAR*)
- {
- // HControl As Long, HWindow As Integer, Message As Integer, WParam As Integer, LParam As Long, MessageResult As Long
- }
-
- void EvEndMessage(VBXEVENT FAR*)
- {
- // HControl As Long, HWindow As Integer, Message As Integer, WParam As Integer, LParam As Long
- }
-
- #endif
-
- // enumerations
- enum { // values for property MousePointer
- MousePointer_0_Default,
- MousePointer_1_Arrow,
- MousePointer_2_Cross,
- MousePointer_3_IBeam,
- MousePointer_4_Icon,
- MousePointer_5_Size,
- MousePointer_6_Size_NE_SW,
- MousePointer_7_Size_NS,
- MousePointer_8_Size_NW_SE,
- MousePointer_9_Size_WE,
- MousePointer_10_Up_Arrow,
- MousePointer_11_Hourglass,
- MousePointer_12_No_Drop,
- };
-
- enum { // values for property DragMode
- DragMode_0_Manual,
- DragMode_1_Automatic,
- };
-
- enum { // values for property BorderStyle
- BorderStyle_0_None,
- BorderStyle_1_Fixed_Single,
- };
-
- enum { // values for property ScrollBars
- ScrollBars_0_None,
- ScrollBars_1_Horizontal,
- ScrollBars_2_Vertical,
- ScrollBars_3_Both,
- };
-
- enum { // values for property SelDefaultType
- SelDefaultType_0_None,
- SelDefaultType_1_Stream,
- SelDefaultType_2_Line,
- SelDefaultType_3_Column,
- };
-
- enum { // values for property Action
- Action_0_No_Action,
- Action_1_Copy,
- Action_2_Paste,
- Action_3_Cut,
- Action_4_Clear,
- Action_5_Wrap,
- Action_6_Undo,
- Action_7_Redo,
- Action_8_Empty_Undo,
- Action_9_Search,
- Action_10_Replace,
- Action_11_Search_Again,
- };
-
- enum { // values for property SelMark
- SelMark_0_None,
- SelMark_1_Stream,
- SelMark_2_Line,
- SelMark_3_Column,
- };
-
- enum { // values for property SearchOrigin
- SearchOrigin_0_From_Cursor,
- SearchOrigin_1_Entire_Scope,
- };
-
- enum { // values for property SearchTo
- SearchTo_0_Top_of_text,
- SearchTo_1_Bottom_of_text,
- };
-
- enum { // values for property SearchResult
- SearchResult_0_Failure,
- SearchResult_1_Success,
- };
-
-
- // properties
- BOOL GetPropCtlName(string& v) {return GetProp(0,v);}
- BOOL SetPropCtlName(string& v) {return SetProp(0,v);}
-
- BOOL GetPropIndex(int& v) {return GetProp(1,v);}
- BOOL SetPropIndex(int v) {return SetProp(1,v);}
-
- BOOL GetProphWnd(int& v) {return GetProp(2,v);}
- BOOL SetProphWnd(int v) {return SetProp(2,v);}
-
- BOOL GetPropBackColor(COLORREF& v) {return GetProp(3,v);}
- BOOL SetPropBackColor(COLORREF v) {return SetProp(3,v);}
-
- BOOL GetPropForeColor(COLORREF& v) {return GetProp(4,v);}
- BOOL SetPropForeColor(COLORREF v) {return SetProp(4,v);}
-
- BOOL GetPropLeft(long& v) {return GetProp(5,v);}
- BOOL SetPropLeft(long v) {return SetProp(5,v);}
-
- BOOL GetPropTop(long& v) {return GetProp(6,v);}
- BOOL SetPropTop(long v) {return SetProp(6,v);}
-
- BOOL GetPropWidth(long& v) {return GetProp(7,v);}
- BOOL SetPropWidth(long v) {return SetProp(7,v);}
-
- BOOL GetPropHeight(long& v) {return GetProp(8,v);}
- BOOL SetPropHeight(long v) {return SetProp(8,v);}
-
- BOOL GetPropEnabled(BOOL& v) {return GetProp(9,v);}
- BOOL SetPropEnabled(BOOL v) {return SetProp(9,v);}
-
- BOOL GetPropVisible(BOOL& v) {return GetProp(10,v);}
- BOOL SetPropVisible(BOOL v) {return SetProp(10,v);}
-
- BOOL GetPropMousePointer(ENUM& v) {return GetProp(11,v);}
- BOOL SetPropMousePointer(ENUM v) {return SetProp(11,v);}
-
- BOOL GetPropFontName(string& v) {return GetProp(12,v);}
- BOOL SetPropFontName(string& v) {return SetProp(12,v);}
-
- BOOL GetPropFontBold(BOOL& v) {return GetProp(13,v);}
- BOOL SetPropFontBold(BOOL v) {return SetProp(13,v);}
-
- BOOL GetPropFontItalic(BOOL& v) {return GetProp(14,v);}
- BOOL SetPropFontItalic(BOOL v) {return SetProp(14,v);}
-
- BOOL GetPropFontStrikethru(BOOL& v) {return GetProp(15,v);}
- BOOL SetPropFontStrikethru(BOOL v) {return SetProp(15,v);}
-
- BOOL GetPropFontUnderline(BOOL& v) {return GetProp(16,v);}
- BOOL SetPropFontUnderline(BOOL v) {return SetProp(16,v);}
-
- BOOL GetPropFontSize(float& v) {return GetProp(17,v);}
- BOOL SetPropFontSize(float v) {return SetProp(17,v);}
-
- BOOL GetPropTabIndex(int& v) {return GetProp(18,v);}
- BOOL SetPropTabIndex(int v) {return SetProp(18,v);}
-
- BOOL GetPropParent(int& v) {return GetProp(19,v);}
- BOOL SetPropParent(int v) {return SetProp(19,v);}
-
- BOOL GetPropDragMode(ENUM& v) {return GetProp(20,v);}
- BOOL SetPropDragMode(ENUM v) {return SetProp(20,v);}
-
- BOOL GetPropDragIcon(HPIC& v) {return GetProp(21,v);}
- BOOL SetPropDragIcon(HPIC v) {return SetProp(21,v);}
-
- BOOL GetPropTabStop(BOOL& v) {return GetProp(22,v);}
- BOOL SetPropTabStop(BOOL v) {return SetProp(22,v);}
-
- BOOL GetPropTag(string& v) {return GetProp(23,v);}
- BOOL SetPropTag(string& v) {return SetProp(23,v);}
-
- BOOL GetPropText(string& v) {return GetProp(24,v);}
- BOOL SetPropText(string& v) {return SetProp(24,v);}
-
- BOOL GetPropBorderStyle(ENUM& v) {return GetProp(25,v);}
- BOOL SetPropBorderStyle(ENUM v) {return SetProp(25,v);}
-
- BOOL GetPropUnused1(int& v) {return GetProp(26,v);}
- BOOL SetPropUnused1(int v) {return SetProp(26,v);}
-
- BOOL GetPropUnused2(int& v) {return GetProp(27,v);}
- BOOL SetPropUnused2(int v) {return SetProp(27,v);}
-
- BOOL GetPropUnused3(int& v) {return GetProp(28,v);}
- BOOL SetPropUnused3(int v) {return SetProp(28,v);}
-
- BOOL GetPropUnused4(int& v) {return GetProp(29,v);}
- BOOL SetPropUnused4(int v) {return SetProp(29,v);}
-
- BOOL GetPropUnused5(int& v) {return GetProp(30,v);}
- BOOL SetPropUnused5(int v) {return SetProp(30,v);}
-
- BOOL GetPropUnused6(int& v) {return GetProp(31,v);}
- BOOL SetPropUnused6(int v) {return SetProp(31,v);}
-
- BOOL GetPropUnused7(int& v) {return GetProp(32,v);}
- BOOL SetPropUnused7(int v) {return SetProp(32,v);}
-
- BOOL GetPropUnused8(int& v) {return GetProp(33,v);}
- BOOL SetPropUnused8(int v) {return SetProp(33,v);}
-
- BOOL GetPropUnused9(int& v) {return GetProp(34,v);}
- BOOL SetPropUnused9(int v) {return SetProp(34,v);}
-
- BOOL GetPropScrollBars(ENUM& v) {return GetProp(35,v);}
- BOOL SetPropScrollBars(ENUM v) {return SetProp(35,v);}
-
- BOOL GetPropFileOpen(string& v) {return GetProp(36,v);}
- BOOL SetPropFileOpen(string& v) {return SetProp(36,v);}
-
- BOOL GetPropFileSave(string& v) {return GetProp(37,v);}
- BOOL SetPropFileSave(string& v) {return SetProp(37,v);}
-
- BOOL GetPropSelDefaultType(ENUM& v) {return GetProp(38,v);}
- BOOL SetPropSelDefaultType(ENUM v) {return SetProp(38,v);}
-
- BOOL GetPropInsertMode(BOOL& v) {return GetProp(39,v);}
- BOOL SetPropInsertMode(BOOL v) {return SetProp(39,v);}
-
- BOOL GetPropIsDirty(BOOL& v) {return GetProp(40,v);}
- BOOL SetPropIsDirty(BOOL v) {return SetProp(40,v);}
-
- BOOL GetPropAction(ENUM& v) {return GetProp(41,v);}
- BOOL SetPropAction(ENUM v) {return SetProp(41,v);}
-
- BOOL GetPropCount(long& v) {return GetProp(42,v);}
- BOOL SetPropCount(long v) {return SetProp(42,v);}
-
- BOOL GetPropTopY(long& v) {return GetProp(43,v);}
- BOOL SetPropTopY(long v) {return SetProp(43,v);}
-
- BOOL GetPropTextIndex(long& v) {return GetProp(44,v);}
- BOOL SetPropTextIndex(long v) {return SetProp(44,v);}
-
- BOOL GetPropCaretX(long& v) {return GetProp(45,v);}
- BOOL SetPropCaretX(long v) {return SetProp(45,v);}
-
- BOOL GetPropCaretY(long& v) {return GetProp(46,v);}
- BOOL SetPropCaretY(long v) {return SetProp(46,v);}
-
- BOOL GetPropSelMark(ENUM& v) {return GetProp(47,v);}
- BOOL SetPropSelMark(ENUM v) {return SetProp(47,v);}
-
- BOOL GetPropSelStartX(long& v) {return GetProp(48,v);}
- BOOL SetPropSelStartX(long v) {return SetProp(48,v);}
-
- BOOL GetPropSelStartY(long& v) {return GetProp(49,v);}
- BOOL SetPropSelStartY(long v) {return SetProp(49,v);}
-
- BOOL GetPropSelEndX(long& v) {return GetProp(50,v);}
- BOOL SetPropSelEndX(long v) {return SetProp(50,v);}
-
- BOOL GetPropSelEndY(long& v) {return GetProp(51,v);}
- BOOL SetPropSelEndY(long v) {return SetProp(51,v);}
-
- BOOL GetPropSelText(string& v) {return GetProp(52,v);}
- BOOL SetPropSelText(string& v) {return SetProp(52,v);}
-
- BOOL GetPropRedraw(BOOL& v) {return GetProp(53,v);}
- BOOL SetPropRedraw(BOOL v) {return SetProp(53,v);}
-
- BOOL GetPropLeftHi(long& v) {return GetProp(54,v);}
- BOOL SetPropLeftHi(long v) {return SetProp(54,v);}
-
- BOOL GetPropRightHi(long& v) {return GetProp(55,v);}
- BOOL SetPropRightHi(long v) {return SetProp(55,v);}
-
- BOOL GetPropPassword(long& v) {return GetProp(56,v);}
- BOOL SetPropPassword(long v) {return SetProp(56,v);}
-
- BOOL GetPropReadOnly(BOOL& v) {return GetProp(57,v);}
- BOOL SetPropReadOnly(BOOL v) {return SetProp(57,v);}
-
- BOOL GetPropTopMargin(int& v) {return GetProp(58,v);}
- BOOL SetPropTopMargin(int v) {return SetProp(58,v);}
-
- BOOL GetPropBottomMargin(int& v) {return GetProp(59,v);}
- BOOL SetPropBottomMargin(int v) {return SetProp(59,v);}
-
- BOOL GetPropLeftMargin(int& v) {return GetProp(60,v);}
- BOOL SetPropLeftMargin(int v) {return SetProp(60,v);}
-
- BOOL GetPropRightMargin(int& v) {return GetProp(61,v);}
- BOOL SetPropRightMargin(int v) {return SetProp(61,v);}
-
- BOOL GetPropSelForeColor(COLORREF& v) {return GetProp(62,v);}
- BOOL SetPropSelForeColor(COLORREF v) {return SetProp(62,v);}
-
- BOOL GetPropSelBackColor(COLORREF& v) {return GetProp(63,v);}
- BOOL SetPropSelBackColor(COLORREF v) {return SetProp(63,v);}
-
- BOOL GetPropTabDefaultWidth(int& v) {return GetProp(64,v);}
- BOOL SetPropTabDefaultWidth(int v) {return SetProp(64,v);}
-
- BOOL GetPropTabCount(int& v) {return GetProp(65,v);}
- BOOL SetPropTabCount(int v) {return SetProp(65,v);}
-
- BOOL GetPropTabMark(long& v, int i) {return GetProp(66,v,i);}
- BOOL SetPropTabMark(long v, int i) {return SetProp(66,v,i);}
-
- BOOL GetPropWrapY(int& v) {return GetProp(67,v);}
- BOOL SetPropWrapY(int v) {return SetProp(67,v);}
-
- BOOL GetPropWrapWholeWords(BOOL& v) {return GetProp(68,v);}
- BOOL SetPropWrapWholeWords(BOOL v) {return SetProp(68,v);}
-
- BOOL GetProphFont(int& v) {return GetProp(69,v);}
- BOOL SetProphFont(int v) {return SetProp(69,v);}
-
- BOOL GetPropCaretWidth(int& v) {return GetProp(70,v);}
- BOOL SetPropCaretWidth(int v) {return SetProp(70,v);}
-
- BOOL GetPropCaretHeight(int& v) {return GetProp(71,v);}
- BOOL SetPropCaretHeight(int v) {return SetProp(71,v);}
-
- BOOL GetPropLinesPerWindow(int& v) {return GetProp(72,v);}
- BOOL SetPropLinesPerWindow(int v) {return SetProp(72,v);}
-
- BOOL GetPropFullLinesPerWindow(int& v) {return GetProp(73,v);}
- BOOL SetPropFullLinesPerWindow(int v) {return SetProp(73,v);}
-
- BOOL GetPropCanUndo(BOOL& v) {return GetProp(74,v);}
- BOOL SetPropCanUndo(BOOL v) {return SetProp(74,v);}
-
- BOOL GetPropCanRedo(BOOL& v) {return GetProp(75,v);}
- BOOL SetPropCanRedo(BOOL v) {return SetProp(75,v);}
-
- BOOL GetPropUndoLimit(int& v) {return GetProp(76,v);}
- BOOL SetPropUndoLimit(int v) {return SetProp(76,v);}
-
- BOOL GetPropSearchTarget(string& v) {return GetProp(77,v);}
- BOOL SetPropSearchTarget(string& v) {return SetProp(77,v);}
-
- BOOL GetPropSearchReplacement(string& v) {return GetProp(78,v);}
- BOOL SetPropSearchReplacement(string& v) {return SetProp(78,v);}
-
- BOOL GetPropSearchOrigin(ENUM& v) {return GetProp(79,v);}
- BOOL SetPropSearchOrigin(ENUM v) {return SetProp(79,v);}
-
- BOOL GetPropSearchTo(ENUM& v) {return GetProp(80,v);}
- BOOL SetPropSearchTo(ENUM v) {return SetProp(80,v);}
-
- BOOL GetPropSearchCaseSensitive(BOOL& v) {return GetProp(81,v);}
- BOOL SetPropSearchCaseSensitive(BOOL v) {return SetProp(81,v);}
-
- BOOL GetPropSearchWholeWordsOnly(BOOL& v) {return GetProp(82,v);}
- BOOL SetPropSearchWholeWordsOnly(BOOL v) {return SetProp(82,v);}
-
- BOOL GetPropSearchResult(ENUM& v) {return GetProp(83,v);}
- BOOL SetPropSearchResult(ENUM v) {return SetProp(83,v);}
-
- BOOL GetPropEndOfCustomProperties(int& v) {return GetProp(84,v);}
- BOOL SetPropEndOfCustomProperties(int v) {return SetProp(84,v);}
-
- #if 0
- DECLARE_RESPONSE_TABLE(TVbxEditor);
- #endif
- };
-
- #if 0
- // OWL response table
- DEFINE_RESPONSE_TABLE1(TVbxEditor, TVbxControl)
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_Click, EvClick ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_DblClick, EvDblClick ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_DragDrop, EvDragDrop ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_DragOver, EvDragOver ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_GotFocus, EvGotFocus ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_KeyDown, EvKeyDown ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_KeyPress, EvKeyPress ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_KeyUp, EvKeyUp ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_LostFocus, EvLostFocus ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_MouseDown, EvMouseDown ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_MouseMove, EvMouseMove ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_MouseUp, EvMouseUp ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_FindWordBreak, EvFindWordBreak ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_SelChange, EvSelChange ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_TopYChange, EvTopYChange ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_CaretChange, EvCaretChange ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_Change, EvChange ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_SearchReplaceConfirm, EvSearchReplaceConfirm ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_BeginMessage, EvBeginMessage ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_ProcessMessage, EvProcessMessage ),
- EV_VBXEVENTINDEX( IDC_Editor, Event_Editor_EndMessage, EvEndMessage ),
- END_RESPONSE_TABLE;
- #endif
-
- #endif
-
-