I was trying out an example from a tutorial but it doesnt happen to
work.The code section where i am getting error is this,pls help me
out.I have created a menu item called Runwcefirstdialog and in the
pocket Pc 2003 emulator i am getting the menu but wen i click on
Runwcefirstdialog i am not getting the dialog box ' WCE First Dialog '

with progress control.The class name for the dialog resource is '
CWCEFirstDialog '. I am using EVC++ 4.0.


void CMainFrame::OnToolsRunwcefirstdialog()
{
// TODO: Add your command handler code here
CWCEFirstDialog *pDlg = new CWCEFirstDialog();
pDlg->DoModal();
delete pDlg;
}

Re: Newbie to MFC in windows CE!!! by Vipin

Vipin
Fri Jan 13 09:15:09 CST 2006

Checkout the vc.mfc group for the answer to this question.

And please don't multi post. Also this isn't the right group for a vc++
question.

--
Vipin Aravind
Microsoft - MVP


"wowsmarties" <soniaiqbal1212@gmail.com> wrote in message
news:1137145273.402043.199080@g49g2000cwa.googlegroups.com...
>
> I was trying out an example from a tutorial but it doesnt happen to
> work.The code section where i am getting error is this,pls help me
> out.I have created a menu item called Runwcefirstdialog and in the
> pocket Pc 2003 emulator i am getting the menu but wen i click on
> Runwcefirstdialog i am not getting the dialog box ' WCE First Dialog '
>
> with progress control.The class name for the dialog resource is '
> CWCEFirstDialog '. I am using EVC++ 4.0.
>
>
> void CMainFrame::OnToolsRunwcefirstdialog()
> {
> // TODO: Add your command handler code here
> CWCEFirstDialog *pDlg = new CWCEFirstDialog();
> pDlg->DoModal();
> delete pDlg;
> }
>