home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / FERRAMEN / VBXSTD12 / DDX.TX_ / DDX.TXT
Encoding:
Text File  |  1994-08-23  |  3.6 KB  |  73 lines

  1. ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  2. ;
  3. ;        DDX.TXT
  4. ;        COPYRIGHT «Denis CHEVRON, 1993, 1994, All rights reserved
  5. ;        Tips to add DDX functions into VC++ AppStudio.
  6. ;
  7. ;        You can use this file as you want.
  8. ;
  9. ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  10. ;
  11. ;        As I provide classes interface for VBX Studio 1.2 VBXs, it' s important to instanciate these
  12. ;        class when you are into AppStudio without any code modification.
  13. ;
  14. ;        Without these DDX, you create a new dialog box, then thanks to the Class Wizard, you
  15. ;        create a class for this dialog box. Now, you choose to add a variable for VBGauge (for
  16. ;        instance ).
  17. ;        You choose a 'Control' Variable, (eg. not a string or int value ). At this time, AppStudio
  18. ;        propose a CVBControl class for this object. 
  19. ;
  20. ;        As the VBGauge is not a CVBControl but a CVBGauge object, thanks to DDX, you can add
  21. ;        a CVBGauge variable for this control: The main advantage is you don' t ghave to change
  22. ;        your source code ( H and CPP files ), nor you have to make any cast, and you can use
  23. ;        all CVBGauge properties 'AsVbDo'...
  24. ;
  25. ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  26. ;
  27. ;        To install the DDX, edit APSTUDIO.INI ( it must reside in the WINDOWS directory ).
  28. ;        Then search this label:
  29. ;
  30. ;                [ExtraDDX]
  31. ;
  32. ;        If you don' t have this label, write it.
  33. ;        Now, change or add this key, just under the [ExtraDDX] section name.
  34. ;
  35. ;                ExtraDDXCount=15
  36. ;
  37. ;        (Of course, if you already have some DDX, add them to this value!)
  38. ;        Now, add these lines:
  39. ;                ExtraDDX1=V;;Control;CVBEdit*;NULL;VBEdit;VBEdit associated object
  40. ;                ExtraDDX2=V;;Control;CVBSpin*;NULL;VBSpin;VBSpin associated object
  41. ;                ExtraDDX3=V;;Control;CVBGauge*;NULL;VBGauge;VBGauge associated object
  42. ;                ExtraDDX4=V;;Control;CVBTab*;NULL;VBTab;VBTab associated object
  43. ;                ExtraDDX5=V;;Control;CVBText*;NULL;VBCText;VBText associated object
  44. ;                ExtraDDX6=V;;Control;CVBAnim*;NULL;VBAnim;VBAnim associated object
  45. ;                ExtraDDX7=V;;Control;CVBPicBtn*;NULL;VBPicBtn;VBPicBtn associated object
  46. ;                ExtraDDX8=V;;Control;CVBLine*;NULL;VBLine;VBLine associated object
  47. ;                ExtraDDX9=V;;Control;CVB3D*;NULL;VB3D;VB3D associated object
  48. ;                ExtraDDX10=V;;Control;CVBDDrop*;NULL;VBDDrop;VBDDrop associated object
  49. ;                ExtraDDX11=V;;Control;CVBCombo*;NULL;VBCombo;VBCombo associated object
  50. ;                ExtraDDX12=V;;Control;CVBFCombo*;NULL;VBFCombo;VBFCombo associated object
  51. ;                ExtraDDX13=V;;Control;CVBList*;NULL;VBList;VBList associated object
  52. ;                ExtraDDX14=V;;Control;CVBFList*;NULL;VBFList;VBFList associated object
  53. ;                ExtraDDX15=V;;Control;CVBNote*;NULL;VBNote;VBNote associated object
  54. ;
  55. ;        
  56. ;        Now, thanks to String Studio (CSTR12.ZIP) in the Compuserve MSMFC Forum, you can add
  57. ;        these DDX for strings:
  58. ;                
  59. ;                 ExtraDDX16=V;Ss;Value;CStr;"";VBCStrText;String Studio CStr string
  60. ;                ExtraDDX17=E;Ss;Value;CStr;"";CStrText;String Studio CStr string
  61. ;
  62. ;        and dates ( these DDXs returns a CTime object depending on the chosen format ):
  63. ;
  64. ;                ExtraDDX18=V;Ss;Value;USCTime;0;CTimeUS;CTime value (MM/DD/YY)
  65. ;                ExtraDDX19=V;Ss;Value;USLCTime;0;CTimeUSLong;CTime value (MM/DD/YYYY)
  66. ;                ExtraDDX20=V;Ss;Value;FRCTime;0;CTimeFrench;CTime value (DD/MM/YY)
  67. ;                ExtraDDX21=V;Ss;Value;FRLCTime;0;CTimeFrenchLong;CTime value (DD/MM/YYYY)
  68. ;
  69. ;
  70. ;        If you use these last DDX, change <ExtraDDXCount> to 21!
  71. ;
  72.  
  73.