home *** CD-ROM | disk | FTP | other *** search
- ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
- ;
- ; DDX.TXT
- ; COPYRIGHT «Denis CHEVRON, 1993, 1994, All rights reserved
- ; Tips to add DDX functions into VC++ AppStudio.
- ;
- ; You can use this file as you want.
- ;
- ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
- ;
- ; As I provide classes interface for VBX Studio 1.2 VBXs, it' s important to instanciate these
- ; class when you are into AppStudio without any code modification.
- ;
- ; Without these DDX, you create a new dialog box, then thanks to the Class Wizard, you
- ; create a class for this dialog box. Now, you choose to add a variable for VBGauge (for
- ; instance ).
- ; You choose a 'Control' Variable, (eg. not a string or int value ). At this time, AppStudio
- ; propose a CVBControl class for this object.
- ;
- ; As the VBGauge is not a CVBControl but a CVBGauge object, thanks to DDX, you can add
- ; a CVBGauge variable for this control: The main advantage is you don' t ghave to change
- ; your source code ( H and CPP files ), nor you have to make any cast, and you can use
- ; all CVBGauge properties 'AsVbDo'...
- ;
- ; ----------------------------------------------------------------------------------------------------------------------------------------------------------------
- ;
- ; To install the DDX, edit APSTUDIO.INI ( it must reside in the WINDOWS directory ).
- ; Then search this label:
- ;
- ; [ExtraDDX]
- ;
- ; If you don' t have this label, write it.
- ; Now, change or add this key, just under the [ExtraDDX] section name.
- ;
- ; ExtraDDXCount=15
- ;
- ; (Of course, if you already have some DDX, add them to this value!)
- ; Now, add these lines:
- ; ExtraDDX1=V;;Control;CVBEdit*;NULL;VBEdit;VBEdit associated object
- ; ExtraDDX2=V;;Control;CVBSpin*;NULL;VBSpin;VBSpin associated object
- ; ExtraDDX3=V;;Control;CVBGauge*;NULL;VBGauge;VBGauge associated object
- ; ExtraDDX4=V;;Control;CVBTab*;NULL;VBTab;VBTab associated object
- ; ExtraDDX5=V;;Control;CVBText*;NULL;VBCText;VBText associated object
- ; ExtraDDX6=V;;Control;CVBAnim*;NULL;VBAnim;VBAnim associated object
- ; ExtraDDX7=V;;Control;CVBPicBtn*;NULL;VBPicBtn;VBPicBtn associated object
- ; ExtraDDX8=V;;Control;CVBLine*;NULL;VBLine;VBLine associated object
- ; ExtraDDX9=V;;Control;CVB3D*;NULL;VB3D;VB3D associated object
- ; ExtraDDX10=V;;Control;CVBDDrop*;NULL;VBDDrop;VBDDrop associated object
- ; ExtraDDX11=V;;Control;CVBCombo*;NULL;VBCombo;VBCombo associated object
- ; ExtraDDX12=V;;Control;CVBFCombo*;NULL;VBFCombo;VBFCombo associated object
- ; ExtraDDX13=V;;Control;CVBList*;NULL;VBList;VBList associated object
- ; ExtraDDX14=V;;Control;CVBFList*;NULL;VBFList;VBFList associated object
- ; ExtraDDX15=V;;Control;CVBNote*;NULL;VBNote;VBNote associated object
- ;
- ;
- ; Now, thanks to String Studio (CSTR12.ZIP) in the Compuserve MSMFC Forum, you can add
- ; these DDX for strings:
- ;
- ; ExtraDDX16=V;Ss;Value;CStr;"";VBCStrText;String Studio CStr string
- ; ExtraDDX17=E;Ss;Value;CStr;"";CStrText;String Studio CStr string
- ;
- ; and dates ( these DDXs returns a CTime object depending on the chosen format ):
- ;
- ; ExtraDDX18=V;Ss;Value;USCTime;0;CTimeUS;CTime value (MM/DD/YY)
- ; ExtraDDX19=V;Ss;Value;USLCTime;0;CTimeUSLong;CTime value (MM/DD/YYYY)
- ; ExtraDDX20=V;Ss;Value;FRCTime;0;CTimeFrench;CTime value (DD/MM/YY)
- ; ExtraDDX21=V;Ss;Value;FRLCTime;0;CTimeFrenchLong;CTime value (DD/MM/YYYY)
- ;
- ;
- ; If you use these last DDX, change <ExtraDDXCount> to 21!
- ;
-
-