Jump to content
Software FX Community

Initializing


User (Legacy)

Recommended Posts

I'm doing dev. for PocketPC 2003 and I'm using the #import option as

described in the programmer's guide. I define the two data members and then

add this code inside of DoDataExhange:

DDX_Control(pDX, IDC_CHART1, m_ChartFX); // Link variable to control

if (!pDX->m_bSaveAndValidate) // Link Chart FX pointer to control window

m_pChartFX = m_ChartFX.GetControlUnknown();

If I use this code verbatim the first problem that I get is that IDC_CHART1

is undefined. I looked through the sample "Labels" code and found that it

was simply a #define set to 1000. But when I manualy put in 1000 it gives

me this:

"Error: no data exchange control with ID 0x03E8."

But even if I try it with a different ID number I can't get any number to

work. I'm using the variables/code in the CAboutDlg()'s [the "about"

dialog] DoDataExchange that is automatically generated by the Wizard. Any

help would be appreciated.

Daniel C. Cole

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...