www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - DDX

↑ ↓ ← Peter <Peter_member pathlink.com> writes:
Hi,
While using class express in Data transfer mode, once a variable has been typed
in. lets say for IDC_EDIT1. Is there a way of either deletng or editing it?
Also, is there any source where I can find more infomation on the DDX feature.

Peter.
Dec 14 2002
↑ ↓ → Jan Knepper <jan smartsoft.us> writes:
This sounds like an MFC issue and should go news://news.digitalmars.com/c++.mfc

in:
YourWindow :: DoDataExchange ( CDataExchange  *pDX )
{
    DDX_Control ( pDX, IDC_EDIT1, m_edit1 );

    //
}

in the class definition:

    CEdit                    m_edit1;

After OnInitDialog m_edit1 is now associated with IDC_EDIT1, so you can use the
CEdit members to access and change text.

Jan



Peter wrote:

 Hi,
 While using class express in Data transfer mode, once a variable has been typed
 in. lets say for IDC_EDIT1. Is there a way of either deletng or editing it?
 Also, is there any source where I can find more infomation on the DDX feature.

Dec 14 2002