Click here to Skip to main content
15,884,921 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju10-Sep-09 3:47
Vetukuri Raju10-Sep-09 3:47 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Stuart Dootson9-Sep-09 3:30
professionalStuart Dootson9-Sep-09 3:30 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 3:42
Vetukuri Raju9-Sep-09 3:42 
QuestionHow use DDX_Radio in a CDialogBar Pin
Crownless8-Sep-09 23:26
Crownless8-Sep-09 23:26 
AnswerRe: How use DDX_Radio in a CDialogBar Pin
Richard MacCutchan8-Sep-09 23:32
mveRichard MacCutchan8-Sep-09 23:32 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Crownless8-Sep-09 23:40
Crownless8-Sep-09 23:40 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Cedric Moonen8-Sep-09 23:44
Cedric Moonen8-Sep-09 23:44 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Crownless9-Sep-09 0:15
Crownless9-Sep-09 0:15 
well... i'll try to explain better the situation...

i have a CDialogBar with this DoDataExchange:
void CMyDlgBar::DoDataExchange(CDataExchange* pDX)
{
   CDialogBar::DoDataExchange(pDX);

   DDX_Radio(pDX, IDC_RADIO1, miRadio);
}


i create my CDialogBar in my MainFrame and then i call a function for the initialization of my class.

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
   if(CFrameWnd::OnCreate(lpCreateStruct) == -1)
      return -1;

   mMyDlgbar.Create(this,
                    IDD_DLGBAR,
                    CBRS_LEFT | CBRS_HIDE_INPLACE,
                    IDD_DLGBAR);

   ShowControlBar(&mMyDlgbar, FALSE, FALSE);

   mMyDlgbar.InitDialog( );
	
   return 0;
}


My InitDialog function calls the UpdateData(FALSE) (or UpdateData(TRUE), it's the same).

void CMyDlgBar::InitDialog() 
{
   UpdateData(FALSE);
}


the UpdateData function calls the DoDataExchange of my class, i get the error on the DDX_Radio function.

No particular message is provided when i get the error.
GeneralRe: How use DDX_Radio in a CDialogBar Pin
Selvam R9-Sep-09 1:09
professionalSelvam R9-Sep-09 1:09 
GeneralRe: How use DDX_Radio in a CDialogBar Pin
SandipG 9-Sep-09 1:29
SandipG 9-Sep-09 1:29 
QuestionAllowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat8-Sep-09 22:46
Code-o-mat8-Sep-09 22:46 
QuestionRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 22:52
mveCPallini8-Sep-09 22:52 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat8-Sep-09 22:58
Code-o-mat8-Sep-09 22:58 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 23:07
mveCPallini8-Sep-09 23:07 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan8-Sep-09 23:30
mveRichard MacCutchan8-Sep-09 23:30 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat9-Sep-09 0:37
Code-o-mat9-Sep-09 0:37 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan9-Sep-09 2:44
mveRichard MacCutchan9-Sep-09 2:44 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Ragha Venkat11-Sep-09 0:44
Ragha Venkat11-Sep-09 0:44 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan11-Sep-09 1:07
mveRichard MacCutchan11-Sep-09 1:07 
Questionhow to write a programme in V C++ the display on the screen like this??? Pin
mr bard28-Sep-09 21:41
mr bard28-Sep-09 21:41 
AnswerRe: how to write a programme in V C++ the display on the screen like this??? Pin
Richard MacCutchan8-Sep-09 23:17
mveRichard MacCutchan8-Sep-09 23:17 
AnswerRe: how to write a programme in V C++ the display on the screen like this??? Pin
Adam Roderick J8-Sep-09 23:28
Adam Roderick J8-Sep-09 23:28 
Questionrequestion create an instance of Command [modified] Pin
MsmVc8-Sep-09 21:30
MsmVc8-Sep-09 21:30 
AnswerRe: requestion create an instance of Command Pin
CPallini8-Sep-09 21:38
mveCPallini8-Sep-09 21:38 
QuestionRe: requestion create an instance of Command Pin
David Crow9-Sep-09 3:23
David Crow9-Sep-09 3:23 

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.