c++.mfc - Dialog box and CProgressCtrl
- Richard Grant (12/12) Feb 14 2003 Hi all,
-
Richard Grant
(2/2)
Feb 14 2003
Oops.. forgot #include
Hi all, I am having trouble using the CProgressCtrl resource in an App Wizard created Dialog application. I am able to use Class Express to create Data Transfer for other controls.. say CEdit for example. The compile error I am getting is: "Error: ';' expected following declaration of struct member." The error immediatly follows the declaration in the protected area of the CMainDialog class. The offending line is "CProgressCtrl m_Progress;". This usually means the type indicated is undefined. Is there something I need to do to gain access to the CProgressCtrl MFC class? I notice this control was *not* defined in MFC 2.5, so perhaps I need to *enable* DM to use 4.0? Any advice on this appreciated, Richard
Feb 14 2003