home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / FERRAMEN / VBXSTD12 / VBXSTD12.H_ / VBXSTD12.H
Encoding:
C/C++ Source or Header  |  1994-08-23  |  58.6 KB  |  1,083 lines

  1. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. //             VBXSTD12.H
  4. //            COPYRIGHT «Denis CHEVRON, 1993, 1994, All rights reserved
  5. //            Classes and defines for VBX Studio 1.2 VBXs.
  6. //
  7. //            You can use this file as you want.
  8. //
  9. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  10. //
  11. //            Defines can be used instead of values.
  12. //            Following classes provide an easy way to read and write VBX properties with VC++:
  13. //            For instance, you can use:
  14. //
  15. //            CVBEdit* VBEdit1;
  16. //            DWORD a;
  17. //            VBEdit1->Increment() = TRUE;
  18. //            VBEdit1->MinRange() = VBEdit1->MaxRange();
  19. //            a = VBEdit1->GetSel();
  20. //
  21. //            instead of:
  22. //
  23. //            CVBControl* VBEdit1;
  24. //            VBEdit1->SetNumProperty( "Increment", TRUE );
  25. //            VBEdit1->SetFloatProperty( "MinRange", VBEdit1->GetFloatProperty("MaxRange") );
  26. //            ...
  27. //
  28. //            You can use properties class ( CInt, CLong... ) as you do with int or long, but don' t misunderstood,
  29. //            following classes use methods ( with () ), not variables ( without () ), like VB do.
  30. //
  31. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  32. //
  33. //            Also, you can integrate these classes into VC++ AppStudio thanks to VBX ( to allow you to create
  34. //            an instance for these classes into AppStudio ): To do this, you must manually add some DDX in your
  35. //            APSTUDIO.INI file, see DDX.TXT to do it.
  36. //
  37. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  38. //
  39. //            Regarding VBX events management, there are some functions to make it easier:
  40. //
  41. //            EventClickID( LPPARAM lp ) --> returns the ID
  42. //            EventClickString( LPPARAM lp ) --> returns the String ...
  43.  
  44. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  45. #ifndef _ASVBDO12_H
  46. #include <asvbdo12.h>
  47. #endif
  48.  
  49. #define _VBXSTD12_H
  50.  
  51. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  52. //    PART 1 - Defines for most used properties
  53. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  54.                 
  55.                 
  56.                 // ---------------------------------------------------
  57.                 //    Color40: Used for colors lists ( BackColor.. )
  58.                 // ---------------------------------------------------
  59.                 #define COLOR40_SYSTEM                0
  60.                 #define COLOR40_WHITE                  1
  61.                 #define COLOR40_BLACK                  2
  62.                 #define COLOR40_GREY100                3
  63.                 #define COLOR40_LIGHTGREY         4
  64.                 #define COLOR40_GREY150                5
  65.                 #define COLOR40_DARKGREY         6
  66.                 #define COLOR40_CYAN25                7
  67.                 #define COLOR40_CYAN50                8
  68.                 #define COLOR40_CYAN100                9
  69.                 #define COLOR40_LIGHTCYAN        10
  70.                 #define COLOR40_DARKCYAN        11
  71.                 #define COLOR40_CYAN200               12
  72.                 #define COLOR40_BLUE50                13
  73.                 #define COLOR40_BLUEGREEN        14
  74.                 #define COLOR40_BLUE150                15
  75.                 #define COLOR40_LIGHTBLUE         16
  76.                 #define COLOR40_BLUE200                17
  77.                 #define COLOR40_DARKBLUE         18
  78.                 #define COLOR40_BLUE250                19
  79.                 #define COLOR40_GREEN25               20
  80.                 #define COLOR40_GREEN50                21
  81.                 #define COLOR40_GREEN100          22
  82.                 #define COLOR40_LIGHTGREEN         23
  83.                 #define COLOR40_GREEN200          24
  84.                 #define COLOR40_GREEN250            25
  85.                 #define COLOR40_DRAKGREEN       26
  86.                 #define COLOR40_KHAKI                  27
  87.                 #define COLOR40_YELLOW50        28
  88.                 #define COLOR40_YELLOW100        29
  89.                 #define COLOR40_LIGHTYELLOW     30
  90.                 #define COLOR40_YELLOW150         31
  91.                 #define COLOR40_ORANGE              32
  92.                 #define COLOR40_BEIGE                 33
  93.                 #define COLOR40_DARKYELLOW     34
  94.                 #define COLOR40_BROWN              35
  95.                 #define COLOR40_PINK100                36
  96.                 #define COLOR40_RED100                37
  97.                 #define COLOR40_LIGHTRED         38
  98.                 #define COLOR40_DARKRED             39
  99.                 #define COLOR40_FUSHIA50          40
  100.                 #define COLOR40_FUSHIA100          41
  101.                 #define COLOR40_LIGHTFUSHIA       42
  102.                 #define COLOR40_DARKFUSHIA       43
  103.                 
  104.                 // ---------------------------------------------------
  105.                 //    RGB Colors ( when a CLong
  106.                 //    property is defined for a color value )
  107.                 // ---------------------------------------------------         
  108.                 #define RGB_WHITE                RGB(255,255,255)
  109.                 #define RGB_BLACK                RGB(0,0,0)
  110.                 #define RGB_DARKGREY        RGB(128,128,128)
  111.                 #define RGB_LIGHTGREY        RGB( 192,192,192)
  112.                 #define RGB_LIGHTRED          RGB(255,0,0)
  113.                 #define RGB_DARKRED             RGB(128,0,0)
  114.                 #define RGB_LIGHTGREEN       RGB(0,255,0)
  115.                 #define RGB_DARKGREEN       RGB(0,128,0)
  116.                 #define RGB_LIGHTBLUE        RGB(0,0,255)
  117.                 #define RGB_DARKBLUE        RGB(0,0,128)
  118.                 #define RGB_YELLOW              RGB(255,255,0)
  119.                 #define RGB_BROWN              RGB(128,128,0)
  120.                 #define RGB_LIGHTCYAN        RGB(0,255,255)                                                 
  121.                 #define RGB_DARKCYAN        RGB(0,128,128)                                                 
  122.                 #define RGB_LIGHTFUSHIA        RGB(255,0,255)                                                 
  123.                 #define RGB_DARKFUSHIA        RGB(128,0,128)                                                 
  124.  
  125.                 
  126.                 // ---------------------------------------------------
  127.                 //    TextAlignment
  128.                 // ---------------------------------------------------
  129.                 #define TEXT_CENTRE        0
  130.                 #define TEXT_RIGHT          1
  131.                 #define TEXT_LEFT           2
  132.  
  133.                 // ---------------------------------------------------
  134.                 //    List and Combo, DataType
  135.                 // ---------------------------------------------------
  136.                 #define DATA_TEXT            0
  137.                 #define DATA_PICTURE     1
  138.                 #define DATA_BOTH           2
  139.  
  140.                 // ---------------------------------------------------
  141.                 //    VBFCombo, VBFList DataType
  142.                 // ---------------------------------------------------
  143.                 #define FCOMBO_FILES                0
  144.                 #define FCOMBO_DRIVES              1
  145.                 #define FCOMBO_USER                   2
  146.                 #define FLIST_FILES                        0
  147.                 #define FLIST_DIRS                           1
  148.                 #define FLIST_USER                           2
  149.  
  150.  
  151.                 // ---------------------------------------------------
  152.                 //    VBFCombo, FilesDisplay
  153.                 // ---------------------------------------------------
  154.                    #define DISPLAY_QUICK                0
  155.                 #define DISPLAY_WINFILE               1
  156.                 #define DISPLAY_FULL                 2
  157.                 
  158.                 // ---------------------------------------------------
  159.                 //    VBLine, LineStyle
  160.                 // ---------------------------------------------------
  161.                 #define LINE_TOP                    0
  162.                 #define LINE_BOTTOM                1
  163.                 #define LINE_LEFT                    2
  164.                 #define LINE_RIGHT                    3
  165.                 #define LINE_TABRECT            4
  166.                 #define LINE_TABLEFT             5
  167.                 #define LINE_TABBOTTOM         6
  168.                 #define LINE_TABRIGHT            7
  169.                                                                  
  170.                 // ---------------------------------------------------
  171.                 //    VBLine, 3DStyle
  172.                 // ---------------------------------------------------
  173.                 #define LINE3D_NONE                   0
  174.                 #define LINE3D_INSMALL            1
  175.                 #define LINE3D_INLARGE             2
  176.                 #define LINE3D_OUTSMALL          3
  177.                 #define LINE3D_OUTLARGE           4
  178.                 
  179.                 // ---------------------------------------------------
  180.                 //    VBText, Vertical and Hor. positions
  181.                 // ---------------------------------------------------
  182.                 #define VPOS_CENTRE        0 /* VPOS... aren' t available with multiline VBText */
  183.                 #define VPOS_TOP           1
  184.                 #define VPOS_BOTTOM       2
  185.                 #define HPOS_CENTRE        0 
  186.                 #define HPOS_RIGHT          1
  187.                 #define HPOS_LEFT           2
  188.  
  189.                 // ---------------------------------------------------
  190.                 //    VBText, 3DStyle ( text )
  191.                 // ---------------------------------------------------
  192.                 #define _3DTEXT_NONE        0
  193.                 #define _3DTEXT_OUT         1
  194.                 #define _3DTEXT_IN            2
  195.  
  196.                 // ---------------------------------------------------
  197.                 //    VBText, 3D Border 
  198.                 // ---------------------------------------------------
  199.                 #define _3DBORDER_NONE         0
  200.                 #define _3DBORDER_INSET         1
  201.                 #define _3DBORDER_RAISED        2
  202.  
  203.  
  204.                 // ---------------------------------------------------
  205.                 //    VBEdit, DataType
  206.                 // ---------------------------------------------------
  207.                 #define INPUT_NOCHECK                                0
  208.                 #define INPUT_ALPHANUM                                 1
  209.                 #define INPUT_ALPHA                                      2
  210.                 #define INPUT_NUM                                          3
  211.                 #define INPUT_SIGNEDINT                                  4
  212.                 #define INPUT_UNSIGNEDINT                         5
  213.                 #define INPUT_SIGNEDLONG                         6
  214.                 #define INPUT_UNSIGNEDLONG                       7
  215.                 #define INPUT_FLOAT                                        8
  216.                 #define INPUT_TIME                                        9
  217.                 #define INPUT_DATEUS                                   10  /* MM\DD\YY */    
  218.                 #define INPUT_DATEFRENCH                          11
  219.                 #define INPUT_DATEUSLONG                          12 /* MM\DD\YYYY */    
  220.                 #define INPUT_DATEFRENCHLONG                13
  221.                 #define INPUT_DRIVE                                        14
  222.                 #define INPUT_FILENAME                                  15
  223.                 #define INPUT_FILENAMEANDDIR                 16
  224.                 #define INPUT_FILENAMEANDDIREXIST         17
  225.                 #define INPUT_ALLEXIST                                18            
  226.                 #define INPUT_DIRWITHSLASH                       19
  227.                 #define INPUT_DIRWITHSLASHEXIST                 20
  228.                 #define INPUT_DIRWITHOUTSLASH                21
  229.                 #define INPUT_DIRWITHOUTSLASHEXIST        22
  230.                 #define INPUT_DIRNOCHECK                          23 // with or without slash
  231.                 #define INPUT_DIRNOCHECKEXIST                 24
  232.                 
  233.                 
  234.                 
  235.                 
  236. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  237. //    PART 2 - Object interface
  238. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  239.             
  240.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  241.             //    CVBSpin class for the VBSpin VBX
  242.             //    
  243.             class CVBSpin : public CStatic
  244.                 {
  245.                 public:
  246.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  247.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  248.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  249.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  250.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  251.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  252.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  253.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  254.                 CBool TabStop() { return CBool((CVBControl*)this, 14); }
  255.                 CBool Enabled() { return CBool((CVBControl*)this, 12); }
  256.                 CInt AssociatedID() { return CInt((CVBControl*)this, 15); } // special
  257.                 CLong ArrowsColor() { return CLong((CVBControl*)this, 16); }
  258.                 CLong BorderColor() { return CLong((CVBControl*)this, 17); }
  259.                 CFloat Minimum() { return CFloat((CVBControl*)this, 18); }
  260.                 CFloat Maximum() { return CFloat((CVBControl*)this, 19); }
  261.                 CFloat Value() { return CFloat((CVBControl*)this, 20); }
  262.                 CBool HandCursor() { return CBool((CVBControl*)this, 21); }
  263.                 CBool AutoPos() { return CBool((CVBControl*)this, 22); }
  264.                 CBool UseSystemColors() { return CBool((CVBControl*)this, 26); }
  265.                 CInt AssociatedHwnd() { return CInt((CVBControl*)this, 27); } // special
  266.                 // Events support 
  267.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  268.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  269.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  270.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  271.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  272.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  273.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  274.                 };    
  275.                     
  276.             
  277.  
  278.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  279.             //    CVBEdit class for the VBEdit VBX
  280.             //    
  281.             class CVBEdit : public CEdit
  282.                 {
  283.                 public:
  284.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  285.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  286.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  287.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  288.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  289.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  290.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  291.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  292.                 CHsz FontName() { return CHsz((CVBControl*)this, 11); }
  293.                 CBool FontBold() { return CBool((CVBControl*)this, 12); }
  294.                 CFloat FontSize() { return CFloat((CVBControl*)this, 13); }
  295.                 CLong ForeColor() { return CLong((CVBControl*)this, 14); }
  296.                 CBool TabStop() { return CBool((CVBControl*)this, 16); }
  297.                 CBool Enabled() { return CBool((CVBControl*)this, 17); }
  298.                 CInt BorderStyle() { return CInt((CVBControl*)this, 19); }
  299.                 CLong BackColor() { return CLong((CVBControl*)this, 20); }
  300.                 CBool Border3D() { return CBool((CVBControl*)this, 21); }
  301.                 CInt Case() { return CInt((CVBControl*)this, 25); }
  302.                 CBool NoHideSelection() { return CBool((CVBControl*)this, 26); }
  303.                 CBool OEMConvert() { return CBool((CVBControl*)this, 27); }
  304.                 CBool PasswordChars() { return CBool((CVBControl*)this, 28); }
  305.                 CBool ReadOnly() { return CBool((CVBControl*)this, 29); }
  306.                 CInt DataType() { return CInt((CVBControl*)this, 30); }
  307.                 CInt MaxLength() { return CInt((CVBControl*)this, 31); }
  308.                 CFloat MaxRange() { return CFloat((CVBControl*)this, 32); }
  309.                 CFloat MinRange() { return CFloat((CVBControl*)this, 33); }
  310.                 CBool BeepIfError() { return CBool((CVBControl*)this, 34); }
  311.                 CBool AllowAutoChange() { return CBool((CVBControl*)this, 35); }
  312.                 CInt SetSel() { return CInt((CVBControl*)this, 36); } // special, we use CEdit::SetSel instead
  313.                 CBool IsValid() { return CBool((CVBControl*)this, 37); } // special
  314.                 CInt IncrementValue() { return CInt((CVBControl*)this, 38); }
  315.                 CBool Increment() { return CBool((CVBControl*)this, 39); } // special
  316.                 CBool Decrement() { return CBool((CVBControl*)this, 40); } // special
  317.                 CHsz Text() { return CHsz((CVBControl*)this, 41); }
  318.                 CBool UseSystemColors() { return CBool((CVBControl*)this, 42); }
  319.                 CBool AllowBlankField() { return CBool((CVBControl*)this, 43); }
  320.                 };
  321.  
  322.             
  323.             
  324.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  325.             //    CVBList class for the VBList VBX
  326.             //    
  327.             class CVBList : public CListBox
  328.                 {
  329.                 public:
  330.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  331.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  332.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  333.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  334.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  335.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  336.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  337.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  338.                 CInt ItemHeight() { return CInt((CVBControl*)this, 11); }
  339.                 CBool UseHorzScrollBar() { return CBool((CVBControl*)this, 12); }
  340.                 CInt DataType() { return CInt((CVBControl*)this, 13); }
  341.                 CInt DisplayMode() { return CInt((CVBControl*)this, 14); }
  342.                 CInt PictureWidth() { return CInt((CVBControl*)this, 15); }
  343.                 CInt PictureHeight() { return CInt((CVBControl*)this, 16); }
  344.                 CInt PictureXMargin() { return CInt((CVBControl*)this, 17); }
  345.                 CInt PictureYMargin() { return CInt((CVBControl*)this, 18); }
  346.                 CInt TextXMargin() { return CInt((CVBControl*)this, 19); }
  347.                 CInt TextYMargin() { return CInt((CVBControl*)this, 20); }
  348.                 CBool Sort() { return CBool((CVBControl*)this, 21); }
  349.                 CBool MultipleSel() { return CBool((CVBControl*)this, 22); }
  350.                 CBool DisableNoScroll() { return CBool((CVBControl*)this, 23); }
  351.                 CBool NoRedraw() { return CBool((CVBControl*)this, 24); }
  352.                 CInt BackColor() { return CInt((CVBControl*)this, 25); }
  353.                 CInt Text3D() { return CInt((CVBControl*)this, 26); }
  354.                 CInt TextAlignment() { return CInt((CVBControl*)this, 27); }
  355.                 CHsz Caption() { return CHsz((CVBControl*)this, 28); }
  356.                 CHsz FontName() { return CHsz((CVBControl*)this, 29); }
  357.                 CBool FontBold() { return CBool((CVBControl*)this, 30); }
  358.                 CFloat FontSize() { return CFloat((CVBControl*)this, 31); }
  359.                 CLong ForeColor() { return CLong((CVBControl*)this, 32); }
  360.                 CBool TabStop() { return CBool((CVBControl*)this, 34); }
  361.                 CBool Enabled() { return CBool((CVBControl*)this, 35); }
  362.                 CInt MousePointer() { return CInt((CVBControl*)this, 36); }
  363.                 CPicture Bitmap01() { return CPicture((CVBControl*)this, 38); }
  364.                 CPicture Bitmap02() { return CPicture((CVBControl*)this, 39); }
  365.                 CPicture Bitmap03() { return CPicture((CVBControl*)this, 40); }
  366.                 CPicture Bitmap04() { return CPicture((CVBControl*)this, 41); }
  367.                 CPicture Bitmap05() { return CPicture((CVBControl*)this, 42); }
  368.                 CPicture Bitmap06() { return CPicture((CVBControl*)this, 43); }
  369.                 CPicture Bitmap07() { return CPicture((CVBControl*)this, 44); }
  370.                 CPicture Bitmap08() { return CPicture((CVBControl*)this, 45); }
  371.                 CPicture Bitmap09() { return CPicture((CVBControl*)this, 46); }
  372.                 CPicture Bitmap10() { return CPicture((CVBControl*)this, 47); }
  373.                 CPicture Bitmap11() { return CPicture((CVBControl*)this, 48); }
  374.                 CPicture Bitmap12() { return CPicture((CVBControl*)this, 49); }
  375.                 CPicture Bitmap13() { return CPicture((CVBControl*)this, 50); }
  376.                 CPicture Bitmap14() { return CPicture((CVBControl*)this, 51); }
  377.                 CPicture Bitmap15() { return CPicture((CVBControl*)this, 52); }
  378.                 CPicture Bitmap16() { return CPicture((CVBControl*)this, 53); }
  379.                 CPicture Bitmap17() { return CPicture((CVBControl*)this, 54); }
  380.                 CPicture Bitmap18() { return CPicture((CVBControl*)this, 55); }
  381.                 CPicture Bitmap19() { return CPicture((CVBControl*)this, 56); }
  382.                 CPicture Bitmap20() { return CPicture((CVBControl*)this, 57); }
  383.                 CPicture Bitmap21() { return CPicture((CVBControl*)this, 58); }
  384.                 CPicture Bitmap22() { return CPicture((CVBControl*)this, 59); }
  385.                 CPicture Bitmap23() { return CPicture((CVBControl*)this, 60); }
  386.                 CPicture Bitmap24() { return CPicture((CVBControl*)this, 61); }
  387.                 CPicture Bitmap25() { return CPicture((CVBControl*)this, 62); }
  388.                 CPicture Bitmap26() { return CPicture((CVBControl*)this, 63); }
  389.                 CPicture Bitmap27() { return CPicture((CVBControl*)this, 64); }
  390.                 CPicture Bitmap28() { return CPicture((CVBControl*)this, 65); }
  391.                 CPicture Bitmap29() { return CPicture((CVBControl*)this, 66); }
  392.                 CPicture Bitmap30() { return CPicture((CVBControl*)this, 67); }
  393.                 CBool UseTranspBitmap() { return CBool((CVBControl*)this, 68); }
  394.                 CBool AlwaysBitmapped() { return CBool((CVBControl*)this, 69); }
  395.                 CBool ModeTest() { return CBool((CVBControl*)this, 70); }
  396.                 CBool Border3D() { return CBool((CVBControl*)this, 72); }
  397.                 CBool ParentNotify() { return CBool((CVBControl*)this, 75); }
  398.                 CInt ListCount() { return CInt((CVBControl*)this, 76); } // special
  399.                 BOOL ListIndex( int index = 0) { return (BOOL)((CVBControl*)this)->GetNumProperty( 77, index ); } // special
  400.                 CString ListString( int index = 0) { return (CString)((CVBControl*)this)->GetStrProperty( 78, index ); } // special
  401.                 CBool SetRedraw() { return CBool((CVBControl*)this, 79); } // we use CWnd::SetRedraw instead
  402.                 CLong SetSel() { return CLong((CVBControl*)this, 80); } // special, we use CListBox::SetSel instead
  403.                 // Events support
  404.                 short EventDblClkID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp); }
  405.                 short EventSelChangeID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp); }
  406.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  407.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  408.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  409.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  410.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  411.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  412.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  413.                 };
  414.                                 
  415.                     
  416.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  417.             //    CVBFList class for the VBFList VBX
  418.             //    
  419.             class CVBFList : public CListBox
  420.                 {
  421.                 public:
  422.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  423.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  424.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  425.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  426.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  427.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  428.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  429.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  430.                 CHsz FontName() { return CHsz((CVBControl*)this, 11); }
  431.                 CBool FontBold() { return CBool((CVBControl*)this, 12); }
  432.                 CFloat FontSize() { return CFloat((CVBControl*)this, 13); }
  433.                 CLong ForeColor() { return CLong((CVBControl*)this, 14); }
  434.                 CBool TabStop() { return CBool((CVBControl*)this, 16); }
  435.                 CBool Enabled() { return CBool((CVBControl*)this, 17); }
  436.                 CInt ItemHeight() { return CInt((CVBControl*)this, 19); }
  437.                 CInt DataType() { return CInt((CVBControl*)this, 20); }
  438.                 CBool MultipleSel() { return CBool((CVBControl*)this, 21); }
  439.                 CBool DisableNoScroll() { return CBool((CVBControl*)this, 22); }
  440.                 CInt BackColor() { return CInt((CVBControl*)this, 23); }
  441.                 CInt Text3D() { return CInt((CVBControl*)this, 24); }
  442.                 CBool UseHorizScrollBar() { return CBool((CVBControl*)this, 25); }
  443.                 CHsz InValue() { return CHsz((CVBControl*)this, 26); } 
  444.                 CHsz OutValue() { return CHsz((CVBControl*)this, 27); } // special
  445.                 CInt StaticID() { return CInt((CVBControl*)this, 28); } // special
  446.                 CInt ListCount() { return CInt((CVBControl*)this, 29); } // special
  447.                 BOOL ListIndex( int index = 0) { return (BOOL)((CVBControl*)this)->GetNumProperty( 30, index ); } // special
  448.                 CString ListString( int index = 0) { return (CString)((CVBControl*)this)->GetStrProperty( 31, index ); } // special
  449.                 CBool Border3D() { return CBool((CVBControl*)this, 32); }
  450.                 CBool Sort() { return CBool((CVBControl*)this, 36); }
  451.                 CBool ParentNotify() { return CBool((CVBControl*)this, 37); }
  452.                 CInt FilesDisplay() { return CInt((CVBControl*)this, 38); }
  453.                 CBool SetRedraw() { return CBool((CVBControl*)this, 39); }
  454.                 CLong SetSel() { return CLong((CVBControl*)this, 40); } // special, use CListBox::SetSel instead
  455.                 CInt StaticHwnd() { return CInt((CVBControl*)this, 41); } // special
  456.                 // Events support ( same as VBList )
  457.                 short EventDblClkID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp); }
  458.                 short EventSelChangeID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp); }
  459.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  460.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  461.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  462.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  463.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  464.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  465.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  466.                 };
  467.                 
  468.                 
  469.                 
  470.             
  471.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  472.             //    CVBCombo class for the VBCombo VBX
  473.             //    
  474.             class CVBCombo : public CComboBox
  475.                 {
  476.                 public:
  477.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  478.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  479.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  480.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  481.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  482.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  483.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  484.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  485.                 CHsz Caption() { return CHsz((CVBControl*)this, 11); }
  486.                 CHsz FontName() { return CHsz((CVBControl*)this, 12); }
  487.                 CBool FontBold() { return CBool((CVBControl*)this, 13); }
  488.                 CFloat FontSize() { return CFloat((CVBControl*)this, 14); }
  489.                 CLong ForeColor() { return CLong((CVBControl*)this, 15); }
  490.                 CBool TabStop() { return CBool((CVBControl*)this, 17); }
  491.                 CBool Enabled() { return CBool((CVBControl*)this, 18); }
  492.                 CInt ListCount() { return CInt((CVBControl*)this, 20); }
  493.                 BOOL ListIndex( int index = 0) { return (BOOL)((CVBControl*)this)->GetNumProperty( 21, index ); } // special
  494.                 CString ListString( int index = 0) { return (CString)((CVBControl*)this)->GetStrProperty( 22, index ); } // special
  495.                 CBool Border3D() { return CBool((CVBControl*)this, 23); }
  496.                 CLong SetSel() { return CLong((CVBControl*)this, 27); } // special
  497.                 CInt ItemHeight() { return CInt((CVBControl*)this, 28); }
  498.                 CInt ListHeight() { return CInt((CVBControl*)this, 29); }
  499.                 CInt StaticHeight() { return CInt((CVBControl*)this, 30); }
  500.                 CLong InitialValue() { return CLong((CVBControl*)this, 31); }
  501.                 CInt BitmapWidth() { return CInt((CVBControl*)this, 32); }
  502.                 CHsz OutValue() { return CHsz((CVBControl*)this, 33); } // special
  503.                 CInt BitmapHeight() { return CInt((CVBControl*)this, 34); }
  504.                 CInt XMarginBitmap() { return CInt((CVBControl*)this, 35); }
  505.                 CInt YMarginBitmap() { return CInt((CVBControl*)this, 36); }
  506.                 CInt XMarginText() { return CInt((CVBControl*)this, 37); }
  507.                 CInt YMarginText() { return CInt((CVBControl*)this, 38); }
  508.                 CInt DataType() { return CInt((CVBControl*)this, 39); }
  509.                 CInt DisplayMode() { return CInt((CVBControl*)this, 40); }
  510.                 CBool UseTranspBitmap() { return CBool((CVBControl*)this, 41); }
  511.                 CBool AlwaysBitmapped() { return CBool((CVBControl*)this, 42); }
  512.                 CBool TestMode() { return CBool((CVBControl*)this, 43); }
  513.                 CBool AutoSearchInList() { return CBool((CVBControl*)this, 44); }
  514.                 CInt BackColor() { return CInt((CVBControl*)this, 45); }
  515.                 CInt Text3D() { return CInt((CVBControl*)this, 46); }
  516.                 CInt TextAlignment() { return CInt((CVBControl*)this, 47); }
  517.                 CPicture Bitmap01() { return CPicture((CVBControl*)this, 48); }
  518.                 CPicture Bitmap02() { return CPicture((CVBControl*)this, 49); }
  519.                 CPicture Bitmap03() { return CPicture((CVBControl*)this, 50); }
  520.                 CPicture Bitmap04() { return CPicture((CVBControl*)this, 51); }
  521.                 CPicture Bitmap05() { return CPicture((CVBControl*)this, 52); }
  522.                 CPicture Bitmap06() { return CPicture((CVBControl*)this, 53); }
  523.                 CPicture Bitmap07() { return CPicture((CVBControl*)this, 54); }
  524.                 CPicture Bitmap08() { return CPicture((CVBControl*)this, 55); }
  525.                 CPicture Bitmap09() { return CPicture((CVBControl*)this, 56); }
  526.                 CPicture Bitmap10() { return CPicture((CVBControl*)this, 57); }
  527.                 CPicture Bitmap11() { return CPicture((CVBControl*)this, 58); }
  528.                 CPicture Bitmap12() { return CPicture((CVBControl*)this, 59); }
  529.                 CPicture Bitmap13() { return CPicture((CVBControl*)this, 60); }
  530.                 CPicture Bitmap14() { return CPicture((CVBControl*)this, 61); }
  531.                 CPicture Bitmap15() { return CPicture((CVBControl*)this, 62); }
  532.                 CPicture Bitmap16() { return CPicture((CVBControl*)this, 63); }
  533.                 CPicture Bitmap17() { return CPicture((CVBControl*)this, 64); }
  534.                 CPicture Bitmap18() { return CPicture((CVBControl*)this, 65); }
  535.                 CPicture Bitmap19() { return CPicture((CVBControl*)this, 66); }
  536.                 CPicture Bitmap20() { return CPicture((CVBControl*)this, 67); }
  537.                 CPicture Bitmap21() { return CPicture((CVBControl*)this, 68); }
  538.                 CPicture Bitmap22() { return CPicture((CVBControl*)this, 69); }
  539.                 CPicture Bitmap23() { return CPicture((CVBControl*)this, 70); }
  540.                 CPicture Bitmap24() { return CPicture((CVBControl*)this, 71); }
  541.                 CPicture Bitmap25() { return CPicture((CVBControl*)this, 72); }
  542.                 CPicture Bitmap26() { return CPicture((CVBControl*)this, 73); }
  543.                 CPicture Bitmap27() { return CPicture((CVBControl*)this, 74); }
  544.                 CPicture Bitmap28() { return CPicture((CVBControl*)this, 75); }
  545.                 CPicture Bitmap29() { return CPicture((CVBControl*)this, 76); }
  546.                 CPicture Bitmap30() { return CPicture((CVBControl*)this, 77); }
  547.                 // Events support 
  548.                 short EventClickID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } 
  549.                 LPCSTR EventClickString( LPVOID lp ) { return (LPCSTR)AFX_HLSTR_EVENTPARAMINDEX(  lp, 1); } 
  550.                 short EventSelChangeID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } 
  551.                 LPCSTR EventSelChangeString( LPVOID lp ) { return (LPCSTR)AFX_HLSTR_EVENTPARAMINDEX( lp, 1); } 
  552.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  553.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  554.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  555.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  556.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  557.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  558.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  559.                 };
  560.             
  561.             
  562.  
  563.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  564.             //    CVBFCombo class for the VBFCombo VBX
  565.             //    
  566.             class CVBFCombo : public CComboBox
  567.                 {
  568.                 public:
  569.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  570.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  571.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  572.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  573.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  574.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  575.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  576.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  577.                 CHsz FontName() { return CHsz((CVBControl*)this, 11); }
  578.                 CBool FontBold() { return CBool((CVBControl*)this, 12); }
  579.                 CFloat FontSize() { return CFloat((CVBControl*)this, 13); }
  580.                 CLong ForeColor() { return CLong((CVBControl*)this, 14); }
  581.                 CInt TabIndex() { return CInt((CVBControl*)this, 15); }
  582.                 CBool TabStop() { return CBool((CVBControl*)this, 16); }
  583.                 CBool Enabled() { return CBool((CVBControl*)this, 17); }
  584.                 CInt ListCount() { return CInt((CVBControl*)this, 19); } // special
  585.                 BOOL ListIndex( int index = 0) { return (BOOL)((CVBControl*)this)->GetNumProperty( 20, index ); } // special
  586.                 CString ListString( int index = 0) { return (CString)((CVBControl*)this)->GetStrProperty( 21, index ); } // special
  587.                 CBool Border3D() { return CBool((CVBControl*)this, 22); }
  588.                 CLong SetSel() { return CLong((CVBControl*)this, 26); }  // special
  589.                 CLong InitialValue() { return CLong((CVBControl*)this, 27); }
  590.                 CInt ItemHeight() { return CInt((CVBControl*)this, 28); }
  591.                 CInt StaticHeight() { return CInt((CVBControl*)this, 29); }
  592.                 CInt ListHeight() { return CInt((CVBControl*)this, 30); }
  593.                 CInt DataType() { return CInt((CVBControl*)this, 31); }
  594.                 CInt FilesDisplay() { return CInt((CVBControl*)this, 32); }
  595.                 CBool AutoSearchInList() { return CBool((CVBControl*)this, 33); }
  596.                 CInt BackColor() { return CInt((CVBControl*)this, 34); }
  597.                 CInt Text3D() { return CInt((CVBControl*)this, 35); }
  598.                 CInt TextAlignment() { return CInt((CVBControl*)this, 36); }
  599.                 CHsz InValue() { return CHsz((CVBControl*)this, 37); }
  600.                 CHsz OutValue() { return CHsz((CVBControl*)this, 38); }
  601.                 // Events support 
  602.                 short EventSelChangeID( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } 
  603.                 LPCSTR EventSelChangeString( LPVOID lp ) { return (LPCSTR)AFX_HLSTR_EVENTPARAMINDEX( lp, 1); } 
  604.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  605.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  606.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  607.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  608.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  609.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  610.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  611.                 };
  612.                 
  613.             
  614.                     
  615.                 
  616.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  617.             //    CVBPictBtn class for the VBPicBtn VBX
  618.             //    
  619.             class CVBPicBtn : public CButton
  620.                 {
  621.                 public:
  622.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  623.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  624.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  625.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  626.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  627.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  628.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  629.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  630.                 CInt TabIndex() { return CInt((CVBControl*)this, 11); }
  631.                 CBool TabStop() { return CBool((CVBControl*)this, 12); }
  632.                 CBool Enabled() { return CBool((CVBControl*)this, 13); }
  633.                 CLong CornersColor() { return CLong((CVBControl*)this, 15); }
  634.                 CLong BackColor() { return CLong((CVBControl*)this, 16); }
  635.                 CBool HandCursor() { return CBool((CVBControl*)this, 17); }
  636.                 CBool ShowBorder() { return CBool((CVBControl*)this, 18); }
  637.                 CBool ShowFocus() { return CBool((CVBControl*)this, 19); }
  638.                 CInt XMargin() { return CInt((CVBControl*)this, 20); }
  639.                 CInt YMargin() { return CInt((CVBControl*)this, 21); }
  640.                 CInt BitmapWidth() { return CInt((CVBControl*)this, 22); }
  641.                 CInt BitmapHeight() { return CInt((CVBControl*)this, 23); }
  642.                 CPicture PictureUp() { return CPicture((CVBControl*)this, 24); }
  643.                 CPicture PictureDown() { return CPicture((CVBControl*)this, 25); }
  644.                 CPicture PictureDisabled() { return CPicture((CVBControl*)this, 26); }
  645.                 CPicture PictureFocus() { return CPicture((CVBControl*)this, 27); }
  646.                 CInt DisplayMode() { return CInt((CVBControl*)this, 28); }
  647.                 CBool UseSystemColors() { return CBool((CVBControl*)this, 29); }
  648.                 CBool UseTranspBitmap() { return CBool((CVBControl*)this, 33); }
  649.                 CBool OnOffMode() { return CBool((CVBControl*)this, 34); }
  650.                 CBool ButtonState() { return CBool((CVBControl*)this, 35); } // special
  651.                 CBool AlwaysRepaint() { return CBool((CVBControl*)this, 36); }                                         
  652.                 CBool SetState() { return CBool((CVBControl*)this, 37); }// special                                         
  653.                 CBool RadioMode() { return CBool((CVBControl*)this, 38); }// special                                         
  654.                 // Events support 
  655.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  656.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  657.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  658.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  659.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  660.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  661.                 };
  662.                 
  663.                 
  664.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  665.             //    CVBGauge class for the VBGauge VBX
  666.             //    
  667.             class CVBGauge : public CStatic
  668.                 {
  669.                 public:
  670.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  671.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  672.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  673.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  674.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  675.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  676.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  677.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  678.                 CInt BorderStyle() { return CInt((CVBControl*)this, 11); }
  679.                 CBool TabStop() { return CBool((CVBControl*)this, 12); }
  680.                 CBool Enabled() { return CBool((CVBControl*)this, 13); }
  681.                 CInt GaugeColor() { return CInt((CVBControl*)this, 16); }
  682.                 CInt BackColor() { return CInt((CVBControl*)this, 17); }
  683.                 CBool VariableColors() { return CBool((CVBControl*)this, 18); }
  684.                 CFloat Minimum() { return CFloat((CVBControl*)this, 19); }
  685.                 CFloat Maximum() { return CFloat((CVBControl*)this, 20); }
  686.                 CFloat Value() { return CFloat((CVBControl*)this, 21); }
  687.                 CBool Gauge3DBorder() { return CBool((CVBControl*)this, 22); }
  688.                 CBool Border3D() { return CBool((CVBControl*)this, 26); }
  689.                 CBool ShowTheRate() { return CBool((CVBControl*)this, 27); }
  690.                 };
  691.             
  692.             
  693.             
  694.                                         
  695.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  696.             //    CVBTab class for the VBTab VBX
  697.             //    
  698.             class CVBTab : public CButton
  699.                 {
  700.                 public:
  701.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  702.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  703.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  704.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  705.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  706.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  707.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  708.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  709.                 CLong BackColor() { return CLong((CVBControl*)this, 11); }
  710.                 CLong FlashColor() { return CLong((CVBControl*)this, 12); }
  711.                 CLong FlashTxtColor() { return CLong((CVBControl*)this, 13); }
  712.                 CBool Active() { return CBool((CVBControl*)this, 14); } // special
  713.                 CBool HandCursor() { return CBool((CVBControl*)this, 15); }
  714.                 CInt Text3D() { return CInt((CVBControl*)this, 16); }
  715.                 CHsz Caption() { return CHsz((CVBControl*)this, 19); }
  716.                 CHsz FontName() { return CHsz((CVBControl*)this, 20); }
  717.                 CBool FontBold() { return CBool((CVBControl*)this, 21); }
  718.                 CBool FontItalic() { return CBool((CVBControl*)this, 22); }
  719.                 CBool FontUnderline() { return CBool((CVBControl*)this, 23); }
  720.                 CFloat FontSize() { return CFloat((CVBControl*)this, 24); }
  721.                 CLong ForeColor() { return CLong((CVBControl*)this, 25); }
  722.                 CBool TabStop() { return CBool((CVBControl*)this, 27); }
  723.                 CBool Enabled() { return CBool((CVBControl*)this, 28); }
  724.                 CInt MousePointer() { return CInt((CVBControl*)this, 29); }
  725.                 CBool UseSystemColors() { return CBool((CVBControl*)this, 32); }
  726.                 CBool FirstLine() { return CBool((CVBControl*)this, 33); }
  727.                 CBool FirstLeft() { return CBool((CVBControl*)this, 34); }
  728.                 CBool FirstRight() { return CBool((CVBControl*)this, 35); }
  729.                 CBool TabCorners() { return CBool((CVBControl*)this, 36); }
  730.                 // Events support 
  731.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  732.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  733.                 short EventKeyPress( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // KeyPress
  734.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  735.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  736.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  737.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  738.                 };
  739.                 
  740.             
  741.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  742.             //    CVBText class for the VBText VBX
  743.             //    
  744.             class CVBText : public CStatic
  745.                 {
  746.                 public:
  747.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  748.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  749.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  750.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  751.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  752.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  753.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  754.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  755.                 CInt BackColor() { return CInt((CVBControl*)this, 11); }
  756.                 CInt Style3D() { return CInt((CVBControl*)this, 12); }
  757.                 CInt VerticalAlignment() { return CInt((CVBControl*)this, 13); }
  758.                 CInt HorizAlignment() { return CInt((CVBControl*)this, 14); }
  759.                 CBool Multiline() { return CBool((CVBControl*)this, 15); }
  760.                 CBool Autosizing() { return CBool((CVBControl*)this, 16); }
  761.                 CHsz Caption() { return CHsz((CVBControl*)this, 20); }
  762.                 CHsz FontName() { return CHsz((CVBControl*)this, 21); }
  763.                 CBool FontBold() { return CBool((CVBControl*)this, 22); }
  764.                 CBool FontItalic() { return CBool((CVBControl*)this, 23); }
  765.                 CBool FontUnderline() { return CBool((CVBControl*)this, 24); }
  766.                 CFloat FontSize() { return CFloat((CVBControl*)this, 25); }
  767.                 CLong ForeColor() { return CLong((CVBControl*)this, 26); }
  768.                 CBool TabStop() { return CBool((CVBControl*)this, 28); }
  769.                 CBool Enabled() { return CBool((CVBControl*)this, 29); }
  770.                 CInt MousePointer() { return CInt((CVBControl*)this, 30); }
  771.                 CInt Frame3D() { return CInt((CVBControl*)this, 32); }
  772.                 // Events support 
  773.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  774.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  775.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  776.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  777.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  778.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  779.                 };
  780.             
  781.             
  782.             
  783.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  784.             //    CVBAnim class for the VBAnim VBX
  785.             //    
  786.             class CVBAnim : public CStatic
  787.                 {
  788.                 public:
  789.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  790.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  791.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  792.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  793.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  794.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  795.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  796.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  797.                 CInt DisplayMode() { return CInt((CVBControl*)this, 11); }
  798.                 CInt XMargin() { return CInt((CVBControl*)this, 12); }
  799.                 CInt YMargin() { return CInt((CVBControl*)this, 13); }
  800.                 CInt PictureWidth() { return CInt((CVBControl*)this, 14); }
  801.                 CInt PictureHeight() { return CInt((CVBControl*)this, 15); }
  802.                 CPicture Picture1() { return CPicture((CVBControl*)this, 16); }
  803.                 CPicture Picture2() { return CPicture((CVBControl*)this, 17); }
  804.                 CPicture Picture3() { return CPicture((CVBControl*)this, 18); }
  805.                 CPicture Picture4() { return CPicture((CVBControl*)this, 19); }
  806.                 CPicture Picture5() { return CPicture((CVBControl*)this, 20); }
  807.                 CInt BackColor() { return CInt((CVBControl*)this, 21); }
  808.                 CInt Speed() { return CInt((CVBControl*)this, 22); }
  809.                 CInt ProcessMode() { return CInt((CVBControl*)this, 23); }
  810.                 CBool Border3D() { return CBool((CVBControl*)this, 24); }
  811.                 CInt TabIndex() { return CInt((CVBControl*)this, 28); }
  812.                 CBool TabStop() { return CBool((CVBControl*)this, 29); }
  813.                 CBool Enabled() { return CBool((CVBControl*)this, 30); }
  814.                 CInt MousePointer() { return CInt((CVBControl*)this, 31); }
  815.                 CBool AlwaysRepaint() { return CBool((CVBControl*)this, 33); }
  816.                 CBool UseTransparentBitmap() { return CBool((CVBControl*)this, 34); }
  817.                 // Events support 
  818.                 short EventKeyCode( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // KeyUp, KeyDown
  819.                 short EventKeyShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // KeyUp, KeyDown
  820.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  821.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  822.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  823.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  824.                 };
  825.                 
  826.             
  827.             
  828.                 
  829.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  830.             //    CVBLine class for the VBLine VBX
  831.             //    
  832.             class CVBLine : public CStatic
  833.                 {
  834.                 public:
  835.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  836.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  837.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  838.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  839.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  840.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  841.                 CBool Visible() { return CBool((CVBControl*)this, 6); }
  842.                 CHsz Tag() { return CHsz((CVBControl*)this, 10); }
  843.                 CInt LineStyle() { return CInt((CVBControl*)this, 11); }
  844.                 CInt Style3D() { return CInt((CVBControl*)this, 12); }
  845.                 CInt BackColor() { return CInt((CVBControl*)this, 13); }
  846.                 CInt LineColor() { return CInt((CVBControl*)this, 14); }
  847.                 CInt LineThickness() { return CInt((CVBControl*)this, 15); }
  848.                 CBool TabStop() { return CBool((CVBControl*)this, 20); }
  849.                 CInt MousePointer() { return CInt((CVBControl*)this, 22); }
  850.                 // Events support 
  851.                 short EventMouseBtn( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 3); } // MouseUp, MouseDown
  852.                 short EventMouseShift( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 2); } // MouseUp, MouseDown
  853.                 short EventMouseX( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 1); } // MouseUp, MouseDown
  854.                 short EventMouseY( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAMINDEX( short, lp, 0); } // MouseUp, MouseDown
  855.                 };
  856.                 
  857.  
  858.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  859.             //    CVBDDrop class for the VBDDrop VBX
  860.             //    
  861.             class CVBDDrop : public CStatic
  862.                 {
  863.                 public:
  864.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  865.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  866.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  867.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  868.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  869.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  870.                 CBool TabStop() { return CBool((CVBControl*)this, 7); }
  871.                 CInt DroppedFiles() { return CInt((CVBControl*)this, 12); } // special
  872.                 CString Filename( int index = 0) { return ((CVBControl*)this)->GetStrProperty( 13, index ); } // special
  873.                 CLong BackColor() { return CLong((CVBControl*)this, 14); }
  874.                 CBool Visible() { return CBool((CVBControl*)this, 15); }
  875.                 // Event support
  876.                 short EventDroppedFiles( LPVOID lp ) { return (short)AFX_NUM_EVENTPARAM( short, lp ); } // Number of dropped files                
  877.                 };
  878.             
  879.             
  880.             
  881.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  882.             //    CVBNote class for the VBNote VBX
  883.             //    
  884.             class CVBNote : public CStatic
  885.                 {
  886.                 public:
  887.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  888.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  889.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  890.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  891.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  892.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  893.                 CHsz Caption() { return CHsz((CVBControl*)this, 7); }
  894.                 CHsz FontName() { return CHsz((CVBControl*)this, 8); }
  895.                 CBool FontBold() { return CBool((CVBControl*)this, 9); }
  896.                 CBool FontItalic() { return CBool((CVBControl*)this, 10); }
  897.                 CFloat FontSize() { return CFloat((CVBControl*)this, 11); }
  898.                 CLong ForeColor() { return CLong((CVBControl*)this, 12); }
  899.                 CLong BackColor() { return CLong((CVBControl*)this, 13); }
  900.                 CBool TabStop() { return CBool((CVBControl*)this, 14); }
  901.                 };
  902.             
  903.             
  904.             
  905.             /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  906.             //    CVB3D class for the VB3D VBX
  907.             //    
  908.             class CVB3D : public CStatic
  909.                 {
  910.                 public:
  911.                 CVBControl* GetVBX() { return (CVBControl*)this; };
  912.                 CHsz CtlName() { return CHsz((CVBControl*)this, 0); }
  913.                 CLong Left() { return CLong((CVBControl*)this, 2); }
  914.                 CLong Top() { return CLong((CVBControl*)this, 3); }
  915.                 CLong Width() { return CLong((CVBControl*)this, 4); }
  916.                 CLong Height() { return CLong((CVBControl*)this, 5); }
  917.                 CBool TabStop() { return CBool((CVBControl*)this, 7); }
  918.                 CHsz Tag() { return CHsz((CVBControl*)this, 9); }
  919.                 CBool UseSystemColors() { return CBool((CVBControl*)this, 13); }
  920.                 CInt Mode3D() { return CInt((CVBControl*)this, 14); }
  921.                 };
  922.                                                 
  923.  
  924.  
  925.  
  926. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  927. //    PART 3 - DDXs
  928. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  929. #ifdef _CSTR
  930. #pragma message("VBXSTD12.H: Including VBX Studio DDX routines...")
  931. #ifdef _AFXDLL
  932. #error _AFXDLL not available with String Studio 1.2...
  933. #endif
  934.  
  935.             // ----------------------------------------------------------------------------------------------------------
  936.             //    To use these DDX, don' t forget to call UpdateData( TRUE )
  937.             //    before using the CTime object.
  938.             //    String Studio time functions requires the century specification ( ToTime ), so
  939.             //    we make some little changes..
  940.             // ----------------------------------------------------------------------------------------------------------
  941.             #define USCTime               CTime   // same as CTime but easier to read in the Classwizard
  942.             #define USLCTime           CTime                                                                                         
  943.             #define FRCTime                 CTime
  944.             #define FRLCTime            CTime
  945.             
  946.             _inline void AFXAPI DDX_CTimeUS( CDataExchange* pDX, int nIDC, int nPropIndex, CTime& value )
  947.                 {                                                                                                                                           
  948.                 CStr szTemp, szTemp2;
  949.                 if ( pDX->m_bSaveAndValidate ) // Dialog to variable
  950.                     {
  951.                     pDX->m_pDlgWnd->GetDlgItemText( nIDC, szTemp.GetBuffer(14), 9 );
  952.                     szTemp.ReleaseBuffer();
  953.                     if ( szTemp.GetLength() == 8 )
  954.                         {
  955.                         szTemp2 = szTemp;
  956.                         szTemp2 = szTemp2.Left( 6 );
  957.                         szTemp2 += "19";        // always 19...
  958.                         szTemp2 += szTemp.Right( 2 );
  959.                         value = szTemp2.ToTime();
  960.                         }
  961.                     else
  962.                         value = 0;
  963.                     }
  964.                 else // variable to Dialog
  965.                     {
  966.                     if ( value != 0 )
  967.                         {
  968.                         szTemp.From( value );
  969.                         pDX->m_pDlgWnd->SetDlgItemText( nIDC, szTemp );
  970.                         }
  971.                     }
  972.                 }
  973.             
  974.             _inline void AFXAPI DDX_CTimeUSLong( CDataExchange* pDX, int nIDC, int nPropIndex, CTime& value )
  975.                 {                                                                                                                                           
  976.                 CStr szTemp, szTemp2;
  977.                 if ( pDX->m_bSaveAndValidate ) // Dialog to variable
  978.                     {
  979.                     pDX->m_pDlgWnd->GetDlgItemText( nIDC, szTemp.GetBuffer(14), 11 );
  980.                     szTemp.ReleaseBuffer();
  981.                     value = szTemp.ToTime();
  982.                     }
  983.                 else // variable to Dialog
  984.                     {
  985.                     if ( value != 0 )
  986.                         {
  987.                         szTemp.From( value, "%m/%d/%Y" );
  988.                         pDX->m_pDlgWnd->SetDlgItemText( nIDC, szTemp );
  989.                         }
  990.                     }
  991.                 }
  992.             
  993.             _inline void AFXAPI DDX_CTimeFrench( CDataExchange* pDX, int nIDC, int nPropIndex, CTime& value )
  994.                 {                                                                                                                                           
  995.                 CStr szTemp, szTemp2;
  996.                 if ( pDX->m_bSaveAndValidate ) // Dialog to variable
  997.                     {
  998.                     pDX->m_pDlgWnd->GetDlgItemText( nIDC, szTemp.GetBuffer(14), 9 );
  999.                     szTemp.ReleaseBuffer();
  1000.                     if ( szTemp.GetLength() == 8 )
  1001.                         {
  1002.                         szTemp2 = szTemp;
  1003.                         szTemp2 = szTemp2.Left( 6 );
  1004.                         szTemp2 += "19";        // always 19...
  1005.                         szTemp2 += szTemp.Right( 2 );
  1006.                         value = szTemp2.ToTime("D/M/Y");
  1007.                         }
  1008.                     else
  1009.                         value = 0;
  1010.                     }
  1011.                 else // variable to Dialog
  1012.                     {
  1013.                     if ( value != 0 )
  1014.                         {
  1015.                         szTemp.From( value, "%d/%m/%y" );
  1016.                         pDX->m_pDlgWnd->SetDlgItemText( nIDC, szTemp );
  1017.                         }
  1018.                     }
  1019.                 }
  1020.             
  1021.             _inline void AFXAPI DDX_CTimeFrenchLong( CDataExchange* pDX, int nIDC, int nPropIndex, CTime& value )
  1022.                 {                                                                                                                                           
  1023.                 CStr szTemp, szTemp2;
  1024.                 if ( pDX->m_bSaveAndValidate ) // Dialog to variable
  1025.                     {
  1026.                     pDX->m_pDlgWnd->GetDlgItemText( nIDC, szTemp.GetBuffer(14), 11 );
  1027.                     szTemp.ReleaseBuffer();
  1028.                     value = szTemp.ToTime("D/M/Y");
  1029.                     }
  1030.                 else // variable to Dialog
  1031.                     {
  1032.                     if ( value != 0 )
  1033.                         {
  1034.                         szTemp.From( value, "%d/%m/%Y" );
  1035.                         pDX->m_pDlgWnd->SetDlgItemText( nIDC, szTemp );
  1036.                         }
  1037.                     }
  1038.                 }
  1039.             
  1040.             _inline void AFXAPI DDX_VBCStrText(CDataExchange* pDX, int nIDC, int nPropIndex, CStr& value )
  1041.                 { DDX_VBText( pDX, nIDC, nPropIndex, (CString&) value); }
  1042.             _inline void AFXAPI DDX_CStrText(CDataExchange* pDX, int nIDC, CStr& value )
  1043.                 { DDX_Text( pDX, nIDC, (CString&) value); }
  1044.             
  1045.             
  1046. #else
  1047. #pragma message("VBXSTD12.H: String Studio not found, no CTime, CStr DDXs...")
  1048. #endif
  1049.             
  1050.             _inline void AFXAPI DDX_VBEdit(CDataExchange* pDX, int nIDC, CVBEdit*& rpControl)
  1051.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1052.             _inline void AFXAPI DDX_VBList(CDataExchange* pDX, int nIDC, CVBList*& rpControl)
  1053.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1054.             _inline void AFXAPI DDX_VBFList(CDataExchange* pDX, int nIDC, CVBFList*& rpControl)
  1055.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1056.             _inline void AFXAPI DDX_VBCombo(CDataExchange* pDX, int nIDC, CVBCombo*& rpControl)
  1057.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1058.             _inline void AFXAPI DDX_VBFCombo(CDataExchange* pDX, int nIDC, CVBFCombo*& rpControl)
  1059.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1060.             _inline void AFXAPI DDX_VBSpin(CDataExchange* pDX, int nIDC, CVBSpin*& rpControl)
  1061.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1062.             _inline void AFXAPI DDX_VBTab(CDataExchange* pDX, int nIDC, CVBTab*& rpControl)
  1063.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1064.             _inline void AFXAPI DDX_VBCText(CDataExchange* pDX, int nIDC, CVBText*& rpControl)
  1065.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1066.             _inline void AFXAPI DDX_VBAnim(CDataExchange* pDX, int nIDC, CVBAnim*& rpControl)
  1067.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1068.             _inline void AFXAPI DDX_VBPicBtn(CDataExchange* pDX, int nIDC, CVBPicBtn*& rpControl)
  1069.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1070.             _inline void AFXAPI DDX_VBDDrop(CDataExchange* pDX, int nIDC, CVBDDrop*& rpControl)
  1071.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1072.             _inline void AFXAPI DDX_VBLine(CDataExchange* pDX, int nIDC, CVBLine*& rpControl)
  1073.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1074.             _inline void AFXAPI DDX_VB3D(CDataExchange* pDX, int nIDC, CVB3D*& rpControl)
  1075.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1076.             _inline void AFXAPI DDX_VBNote(CDataExchange* pDX, int nIDC, CVBNote*& rpControl)
  1077.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1078.             _inline void AFXAPI DDX_VBGauge(CDataExchange* pDX, int nIDC, CVBGauge*& rpControl)
  1079.                 {    DDX_VBControl( pDX, nIDC, (CVBControl*&) rpControl);    }
  1080.             
  1081.   
  1082.   
  1083.