Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:41
Uday Janaswamy5-Jul-06 20:41 
GeneralRe: Accessing control from another dialog.. Pin
sach!!5-Jul-06 20:50
sach!!5-Jul-06 20:50 
GeneralRe: Accessing control from another dialog.. [modified] Pin
_AnsHUMAN_ 5-Jul-06 20:55
_AnsHUMAN_ 5-Jul-06 20:55 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:54
Uday Janaswamy5-Jul-06 20:54 
GeneralRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:59
_AnsHUMAN_ 5-Jul-06 20:59 
QuestionC++ class hierarchy [modified] Pin
Nirmal Khatri5-Jul-06 19:25
Nirmal Khatri5-Jul-06 19:25 
AnswerRe: C++ class hierarchy Pin
_AnsHUMAN_ 5-Jul-06 19:32
_AnsHUMAN_ 5-Jul-06 19:32 
AnswerRe: C++ class hierarchy Pin
toxcct5-Jul-06 21:39
toxcct5-Jul-06 21:39 
this is not a class declaration.

the code is defining the default constructor of the CAboutDlg class (a constructor always has the same name as its class). a constructor can have an initialization list, which is the case here ; you can spot it with the : syntax after he function parameters list.

this initialization list tell the constructor the call the constructor of the CAboutDlg class' base class and passes it the CAboutDlg::IDD parameter.

what is missing in your sample is the brackets. i think the code would be at least :

class CAboutDlg : public CDialog {
    //...
 
  public:
    CAboutDlg CAboutDlg(void);
    //...
};
 
 
CAboutDlg::CAboutDlg()
    : CDialog(CAboutDlg::IDD) {
}



TOXCCT >>> GEII power

[VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]
QuestionSpin control Pin
Member 30398435-Jul-06 18:47
Member 30398435-Jul-06 18:47 
AnswerRe: Spin control Pin
Ram Murali5-Jul-06 19:21
Ram Murali5-Jul-06 19:21 
GeneralRe: Spin control Pin
Member 30398435-Jul-06 20:39
Member 30398435-Jul-06 20:39 
AnswerRe: Spin control Pin
Nishad S6-Jul-06 0:17
Nishad S6-Jul-06 0:17 
Questionproblem in receiving correct packet [modified] Pin
thathvamsi5-Jul-06 18:44
thathvamsi5-Jul-06 18:44 
QuestionCommunication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 18:26
Uday Janaswamy5-Jul-06 18:26 
QuestionRe: Communication from Dialog to CFormView Pin
Hamid_RT5-Jul-06 19:31
Hamid_RT5-Jul-06 19:31 
AnswerRe: Communication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 19:41
Uday Janaswamy5-Jul-06 19:41 
QuestionRe: Communication from Dialog to CFormView Pin
Hamid_RT5-Jul-06 19:48
Hamid_RT5-Jul-06 19:48 
AnswerRe: Communication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 20:22
Uday Janaswamy5-Jul-06 20:22 
GeneralRe: Communication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 20:56
Uday Janaswamy5-Jul-06 20:56 
GeneralRe: Communication from Dialog to CFormView Pin
Hamid_RT5-Jul-06 21:18
Hamid_RT5-Jul-06 21:18 
GeneralRe: Communication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 22:50
Uday Janaswamy5-Jul-06 22:50 
QuestionObject moving [modified] Pin
trinh_van5-Jul-06 17:54
trinh_van5-Jul-06 17:54 
AnswerRe: Object moving Pin
_AnsHUMAN_ 5-Jul-06 18:18
_AnsHUMAN_ 5-Jul-06 18:18 
GeneralRe: Object moving Pin
ThatsAlok5-Jul-06 18:38
ThatsAlok5-Jul-06 18:38 
AnswerRe: Object moving Pin
ThatsAlok5-Jul-06 18:38
ThatsAlok5-Jul-06 18:38 

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.