Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error? Pin
Larsson2-Mar-05 10:57
Larsson2-Mar-05 10:57 
GeneralRe: Error? Pin
Ravi Bhavnani2-Mar-05 11:01
professionalRavi Bhavnani2-Mar-05 11:01 
GeneralRe: Error? Pin
Larsson2-Mar-05 11:06
Larsson2-Mar-05 11:06 
GeneralRe: Error? Pin
Christian Graus2-Mar-05 11:07
protectorChristian Graus2-Mar-05 11:07 
GeneralRe: Error? Pin
Larsson2-Mar-05 11:10
Larsson2-Mar-05 11:10 
GeneralRe: Error? Pin
Christian Graus2-Mar-05 11:13
protectorChristian Graus2-Mar-05 11:13 
GeneralRe: Error? Pin
David Crow3-Mar-05 2:42
David Crow3-Mar-05 2:42 
AnswerRe: Error? Pin
Antony M Kancidrowski2-Mar-05 11:23
Antony M Kancidrowski2-Mar-05 11:23 
Assuming you have a dialog, you will have a function like this
void CMyDialog::DoDataExchange(CDataExchange* pDX)
{
  CDialog::DoDataExchange(pDX);
  DDX_Control(pDX, IDC_CONTROL, m_Control);
  DDX_Control(pDX, IDC_MISSINGCONTROL, m_MissingControl);
}

Within it are DDX_Control lines, one of the lines relates to a control you have not added or have recently removed from your resource dialog.

Just remove the line containing the missing control to get
void CMyDialog::DoDataExchange(CDataExchange* pDX)
{
  CDialog::DoDataExchange(pDX);
  DDX_Control(pDX, IDC_CONTROL, m_Control);
}


Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Walliams (Little Britain)

GeneralRe: Error? Pin
Larsson2-Mar-05 11:37
Larsson2-Mar-05 11:37 
GeneralRe: Error? Pin
Christian Graus2-Mar-05 11:55
protectorChristian Graus2-Mar-05 11:55 
GeneralRe: Error? Pin
Larsson2-Mar-05 12:01
Larsson2-Mar-05 12:01 
GeneralRe: Error? Pin
Christian Graus2-Mar-05 12:05
protectorChristian Graus2-Mar-05 12:05 
GeneralRe: Error? Pin
Larsson2-Mar-05 12:08
Larsson2-Mar-05 12:08 
GeneralRe: Error? Pin
Larsson2-Mar-05 12:05
Larsson2-Mar-05 12:05 
GeneralHelp!! Drawing a text using DrawText on the from and Changing CRect of form according the Text. Pin
VikramDelhi2-Mar-05 10:19
VikramDelhi2-Mar-05 10:19 
GeneralRe: Help!! Drawing a text using DrawText on the from and Changing CRect of form according the Text. Pin
Ravi Bhavnani2-Mar-05 10:50
professionalRavi Bhavnani2-Mar-05 10:50 
GeneralSimple Chat Program Pin
rct233332-Mar-05 10:02
rct233332-Mar-05 10:02 
GeneralRe: Simple Chat Program Pin
Ravi Bhavnani2-Mar-05 10:51
professionalRavi Bhavnani2-Mar-05 10:51 
GeneralRe: Simple Chat Program Pin
rct233332-Mar-05 11:12
rct233332-Mar-05 11:12 
GeneralRe: Simple Chat Program Pin
Ravi Bhavnani2-Mar-05 12:47
professionalRavi Bhavnani2-Mar-05 12:47 
GeneralRe: Simple Chat Program Pin
ThatsAlok2-Mar-05 18:15
ThatsAlok2-Mar-05 18:15 
QuestionHow to click a bitmap into a bitmap? MFC, Visual C++6 Pin
VogelH2-Mar-05 10:01
professionalVogelH2-Mar-05 10:01 
AnswerRe: How to click a bitmap into a bitmap? MFC, Visual C++6 Pin
Christian Graus2-Mar-05 11:08
protectorChristian Graus2-Mar-05 11:08 
GeneralRe: How to click a bitmap into a bitmap? MFC, Visual C++6 Pin
VogelH2-Mar-05 21:31
professionalVogelH2-Mar-05 21:31 
GeneralRe: How to click a bitmap into a bitmap? MFC, Visual C++6 Pin
Christian Graus3-Mar-05 11:13
protectorChristian Graus3-Mar-05 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.