Jump to content
Software FX Community
Sign in to follow this  
User (Legacy)

Initializing

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...