home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------
- // MHMQ2001.H generated from MHMQ200.VBX by
- // VbxGen 1.0 - Borland International
- //--------------------------------------------------------
-
- #ifdef __OWL_OWLDEFS_H
- #include <owl\vbxctl.h>
- #endif
-
- //--------------------------------------------------------
- // MhMarque (VB1)
- //--------------------------------------------------------
-
- // properties
- #define Prop_MhMarque_CtlName 0
- #define Prop_MhMarque_Index 1
- #define Prop_MhMarque_Parent 2
- #define Prop_MhMarque_BackColor 3
- #define Prop_MhMarque_Left 4
- #define Prop_MhMarque_Top 5
- #define Prop_MhMarque_Width 6
- #define Prop_MhMarque_Height 7
- #define Prop_MhMarque_Enabled 8
- #define Prop_MhMarque_Visible 9
- #define Prop_MhMarque_MousePointer 10
- #define Prop_MhMarque_Caption 11
- #define Prop_MhMarque_FontName 12
- #define Prop_MhMarque_FontSize 13
- #define Prop_MhMarque_FontBold 14
- #define Prop_MhMarque_FontItalic 15
- #define Prop_MhMarque_FontStrikethru 16
- #define Prop_MhMarque_FontUnderline 17
- #define Prop_MhMarque_DragMode 18
- #define Prop_MhMarque_DragIcon 19
- #define Prop_MhMarque_TabIndex 20
- #define Prop_MhMarque_TabStop 21
- #define Prop_MhMarque_Tag 22
- #define Prop_MhMarque_Autosize 23
- #define Prop_MhMarque_ForeColor 24
- #define Prop_MhMarque_FontTransParent 25
- #define Prop_MhMarque_PictureTop 26
- #define Prop_MhMarque_PictureLeft 27
- #define Prop_MhMarque_PictureRight 28
- #define Prop_MhMarque_PictureBottom 29
- #define Prop_MhMarque_CaptionTop 30
- #define Prop_MhMarque_CaptionLeft 31
- #define Prop_MhMarque_CaptionRight 32
- #define Prop_MhMarque_CaptionBottom 33
- #define Prop_MhMarque_BorderColor 34
- #define Prop_MhMarque_LightColor 35
- #define Prop_MhMarque_OuterFillColor 36
- #define Prop_MhMarque_ShadowColor 37
- #define Prop_MhMarque_Style 38
- #define Prop_MhMarque_TextColor 39
- #define Prop_MhMarque_TextFillColor 40
- #define Prop_MhMarque_Interval 41
- #define Prop_MhMarque_Picture1 42
- #define Prop_MhMarque_Picture2 43
- #define Prop_MhMarque_Picture3 44
- #define Prop_MhMarque_Direction 45
- #define Prop_MhMarque_hWnd 46
- #define Prop_MhMarque_NoPropHelpContextId 47
- #define Prop_MhMarque_FontStyle 48
-
- // events
- #define Event_MhMarque_Click 0
- #define Event_MhMarque_DragDrop 1
- #define Event_MhMarque_DragOver 2
- #define Event_MhMarque_GotFocus 3
- #define Event_MhMarque_KeyDown 4
- #define Event_MhMarque_KeyPress 5
- #define Event_MhMarque_KeyUp 6
- #define Event_MhMarque_LostFocus 7
- #define Event_MhMarque_MouseDown 8
- #define Event_MhMarque_MouseMove 9
- #define Event_MhMarque_MouseUp 10
-
- // 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:
- //
- // TVbxMhMarque* c = new TVbxMhMarque(..., sizeof(MhMarqueData), MhMarqueData);
- //
- // For C/C++ programs:
- //
- // HFORMFILE file = VBXCreateFormFile(sizeof(MhMarqueData), MhMarqueData);
- // HCTL c = VBXCreate(..., file);
- // VBXDeleteFormFile(file);
- //
- // Note that the VBXGEN_DATA or MhMarque_DATA symbol must be
- // defined in order to use the default form data.
- //
- extern BYTE MhMarqueData[170L];
- #if defined(VBXGEN_DATA) || defined(MhMarque_DATA)
- BYTE MhMarqueData[170L]={
- 0x26,0x00,0x01,0x00,0x00,0x03,0xff,0xff,
- 0xff,0x00,0x04,0x08,0xff,0xff,0x09,0xff,
- 0xff,0x0a,0x00,0x0b,0x08,0x4d,0x68,0x4d,
- 0x61,0x72,0x71,0x75,0x65,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,0x14,
- 0x50,0x00,0x46,0x14,0x50,0x00,0x46,0x14,
- 0xb7,0x13,0xf1,0x26,0x73,0x19,0x3f,0x14,
- 0x50,0x00,0x46,0x14,0x64,0x17,0x30,0x1d,
- 0x12,0x00,0x14,0x00,0x00,0x15,0x00,0x00,
- 0x16,0x00,0x17,0x01,0x00,0x18,0x00,0x00,
- 0x00,0x00,0x19,0xff,0xff,0x1a,0x69,0x00,
- 0x1b,0x3b,0x01,0x1c,0x3b,0x01,0x1d,0xc2,
- 0x01,0x1e,0xc1,0x02,0x1f,0x2d,0x00,0x20,
- 0x2d,0x00,0x21,0x5a,0x00,0x22,0x00,0x00,
- 0x00,0x00,0x23,0xff,0xff,0xff,0x00,0x24,
- 0xc0,0xc0,0xc0,0x00,0x25,0x80,0x80,0x80,
- 0x00,0x27,0x00,0x00,0x00,0x00,0x28,0xc0,
- 0xc0,0xc0,0x00,0x29,0xe8,0x03,0x00,0x00,
- 0x2d,0x00,0x2f,0x00,0x00,0x00,0x00,0x30,
- 0x00,0xff,
- };
- #endif
-
- #ifdef __OWL_VBXCTL_H
-
- // OWL class
- class TVbxMhMarque : public TVbxControl {
- public:
-
- // constructors
- TVbxMhMarque(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, "MHMQ200.VBX", "MhMarque",
- title, x, y, w, h, initLen, initData, module) {}
-
- TVbxMhMarque(TWindow* parent, int resourceId, TModule* module=0) :
- TVbxControl(parent, resourceId, module) {}
-
- #if 0
- // event handlers
- void EvClick(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
- }
-
- #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 Style
- Style_0_Moving_Text_Picture123,
- Style_1_Moving_Text_Static_Picture1,
- Style_2_Static_Text_Picture123,
- Style_3_Static_Text_Static_Picture1,
- };
-
- enum { // values for property Direction
- Direction_0_Forward,
- Direction_1_Backward,
- };
-
- enum { // values for property FontStyle
- FontStyle_0_None,
- FontStyle_1_Raised,
- FontStyle_2_Raised_with_more_shading,
- FontStyle_3_Lowered,
- FontStyle_4_Lowered_with_more_shading,
- };
-
-
- // 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 GetPropParent(int& v) {return GetProp(2,v);}
- BOOL SetPropParent(int v) {return SetProp(2,v);}
-
- BOOL GetPropBackColor(COLORREF& v) {return GetProp(3,v);}
- BOOL SetPropBackColor(COLORREF v) {return SetProp(3,v);}
-
- BOOL GetPropLeft(long& v) {return GetProp(4,v);}
- BOOL SetPropLeft(long v) {return SetProp(4,v);}
-
- BOOL GetPropTop(long& v) {return GetProp(5,v);}
- BOOL SetPropTop(long v) {return SetProp(5,v);}
-
- BOOL GetPropWidth(long& v) {return GetProp(6,v);}
- BOOL SetPropWidth(long v) {return SetProp(6,v);}
-
- BOOL GetPropHeight(long& v) {return GetProp(7,v);}
- BOOL SetPropHeight(long v) {return SetProp(7,v);}
-
- BOOL GetPropEnabled(BOOL& v) {return GetProp(8,v);}
- BOOL SetPropEnabled(BOOL v) {return SetProp(8,v);}
-
- BOOL GetPropVisible(BOOL& v) {return GetProp(9,v);}
- BOOL SetPropVisible(BOOL v) {return SetProp(9,v);}
-
- BOOL GetPropMousePointer(ENUM& v) {return GetProp(10,v);}
- BOOL SetPropMousePointer(ENUM v) {return SetProp(10,v);}
-
- BOOL GetPropCaption(string& v) {return GetProp(11,v);}
- BOOL SetPropCaption(string& v) {return SetProp(11,v);}
-
- BOOL GetPropFontName(string& v) {return GetProp(12,v);}
- BOOL SetPropFontName(string& v) {return SetProp(12,v);}
-
- BOOL GetPropFontSize(float& v) {return GetProp(13,v);}
- BOOL SetPropFontSize(float v) {return SetProp(13,v);}
-
- BOOL GetPropFontBold(BOOL& v) {return GetProp(14,v);}
- BOOL SetPropFontBold(BOOL v) {return SetProp(14,v);}
-
- BOOL GetPropFontItalic(BOOL& v) {return GetProp(15,v);}
- BOOL SetPropFontItalic(BOOL v) {return SetProp(15,v);}
-
- BOOL GetPropFontStrikethru(BOOL& v) {return GetProp(16,v);}
- BOOL SetPropFontStrikethru(BOOL v) {return SetProp(16,v);}
-
- BOOL GetPropFontUnderline(BOOL& v) {return GetProp(17,v);}
- BOOL SetPropFontUnderline(BOOL v) {return SetProp(17,v);}
-
- BOOL GetPropDragMode(ENUM& v) {return GetProp(18,v);}
- BOOL SetPropDragMode(ENUM v) {return SetProp(18,v);}
-
- BOOL GetPropDragIcon(HPIC& v) {return GetProp(19,v);}
- BOOL SetPropDragIcon(HPIC v) {return SetProp(19,v);}
-
- BOOL GetPropTabIndex(int& v) {return GetProp(20,v);}
- BOOL SetPropTabIndex(int v) {return SetProp(20,v);}
-
- BOOL GetPropTabStop(BOOL& v) {return GetProp(21,v);}
- BOOL SetPropTabStop(BOOL v) {return SetProp(21,v);}
-
- BOOL GetPropTag(string& v) {return GetProp(22,v);}
- BOOL SetPropTag(string& v) {return SetProp(22,v);}
-
- BOOL GetPropAutosize(BOOL& v) {return GetProp(23,v);}
- BOOL SetPropAutosize(BOOL v) {return SetProp(23,v);}
-
- BOOL GetPropForeColor(COLORREF& v) {return GetProp(24,v);}
- BOOL SetPropForeColor(COLORREF v) {return SetProp(24,v);}
-
- BOOL GetPropFontTransParent(BOOL& v) {return GetProp(25,v);}
- BOOL SetPropFontTransParent(BOOL v) {return SetProp(25,v);}
-
- BOOL GetPropPictureTop(int& v) {return GetProp(26,v);}
- BOOL SetPropPictureTop(int v) {return SetProp(26,v);}
-
- BOOL GetPropPictureLeft(int& v) {return GetProp(27,v);}
- BOOL SetPropPictureLeft(int v) {return SetProp(27,v);}
-
- BOOL GetPropPictureRight(int& v) {return GetProp(28,v);}
- BOOL SetPropPictureRight(int v) {return SetProp(28,v);}
-
- BOOL GetPropPictureBottom(int& v) {return GetProp(29,v);}
- BOOL SetPropPictureBottom(int v) {return SetProp(29,v);}
-
- BOOL GetPropCaptionTop(int& v) {return GetProp(30,v);}
- BOOL SetPropCaptionTop(int v) {return SetProp(30,v);}
-
- BOOL GetPropCaptionLeft(int& v) {return GetProp(31,v);}
- BOOL SetPropCaptionLeft(int v) {return SetProp(31,v);}
-
- BOOL GetPropCaptionRight(int& v) {return GetProp(32,v);}
- BOOL SetPropCaptionRight(int v) {return SetProp(32,v);}
-
- BOOL GetPropCaptionBottom(int& v) {return GetProp(33,v);}
- BOOL SetPropCaptionBottom(int v) {return SetProp(33,v);}
-
- BOOL GetPropBorderColor(COLORREF& v) {return GetProp(34,v);}
- BOOL SetPropBorderColor(COLORREF v) {return SetProp(34,v);}
-
- BOOL GetPropLightColor(COLORREF& v) {return GetProp(35,v);}
- BOOL SetPropLightColor(COLORREF v) {return SetProp(35,v);}
-
- BOOL GetPropOuterFillColor(COLORREF& v) {return GetProp(36,v);}
- BOOL SetPropOuterFillColor(COLORREF v) {return SetProp(36,v);}
-
- BOOL GetPropShadowColor(COLORREF& v) {return GetProp(37,v);}
- BOOL SetPropShadowColor(COLORREF v) {return SetProp(37,v);}
-
- BOOL GetPropStyle(ENUM& v) {return GetProp(38,v);}
- BOOL SetPropStyle(ENUM v) {return SetProp(38,v);}
-
- BOOL GetPropTextColor(COLORREF& v) {return GetProp(39,v);}
- BOOL SetPropTextColor(COLORREF v) {return SetProp(39,v);}
-
- BOOL GetPropTextFillColor(COLORREF& v) {return GetProp(40,v);}
- BOOL SetPropTextFillColor(COLORREF v) {return SetProp(40,v);}
-
- BOOL GetPropInterval(long& v) {return GetProp(41,v);}
- BOOL SetPropInterval(long v) {return SetProp(41,v);}
-
- BOOL GetPropPicture1(HPIC& v) {return GetProp(42,v);}
- BOOL SetPropPicture1(HPIC v) {return SetProp(42,v);}
-
- BOOL GetPropPicture2(HPIC& v) {return GetProp(43,v);}
- BOOL SetPropPicture2(HPIC v) {return SetProp(43,v);}
-
- BOOL GetPropPicture3(HPIC& v) {return GetProp(44,v);}
- BOOL SetPropPicture3(HPIC v) {return SetProp(44,v);}
-
- BOOL GetPropDirection(ENUM& v) {return GetProp(45,v);}
- BOOL SetPropDirection(ENUM v) {return SetProp(45,v);}
-
- BOOL GetProphWnd(int& v) {return GetProp(46,v);}
- BOOL SetProphWnd(int v) {return SetProp(46,v);}
-
- BOOL GetPropNoPropHelpContextId(long& v) {return GetProp(47,v);}
- BOOL SetPropNoPropHelpContextId(long v) {return SetProp(47,v);}
-
- BOOL GetPropFontStyle(ENUM& v) {return GetProp(48,v);}
- BOOL SetPropFontStyle(ENUM v) {return SetProp(48,v);}
-
- #if 0
- DECLARE_RESPONSE_TABLE(TVbxMhMarque);
- #endif
- };
-
- #if 0
- // OWL response table
- DEFINE_RESPONSE_TABLE1(TVbxMhMarque, TVbxControl)
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_Click, EvClick ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_DragDrop, EvDragDrop ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_DragOver, EvDragOver ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_GotFocus, EvGotFocus ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_KeyDown, EvKeyDown ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_KeyPress, EvKeyPress ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_KeyUp, EvKeyUp ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_LostFocus, EvLostFocus ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_MouseDown, EvMouseDown ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_MouseMove, EvMouseMove ),
- EV_VBXEVENTINDEX( IDC_MhMarque, Event_MhMarque_MouseUp, EvMouseUp ),
- END_RESPONSE_TABLE;
- #endif
-
- #endif
-
-