My override function never gets called?
From: Angus Comber (angus_at_NOiteloffice.com.PLEASENOSPAM)
Date: 04/10/04
- Next message: John Harrison: "Re: Trouble with constructor(code included)"
- Previous message: Allan Bruce: "Re: Callback to a non-static method?"
- Next in thread: John Harrison: "Re: My override function never gets called?"
- Reply: John Harrison: "Re: My override function never gets called?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 10 Apr 2004 13:19:21 +0100
Hello
I have a base class a bit like this:
class CTapiCall
{
// Constructor
public:
CTapiCall();
virtual ~CTapiCall();
// Overridable methods for notifications
virtual void OnInfoChange (long InfoState);
// Etc
};
Then I inherit from this class:
class CMainDlg : public CDialogImpl<CMainDlg>, public CTapiCall
In CMainDlg I have this override function:
virtual void OnCallStateIdle ()
In the CTapiCall class I see that OnInfoChange is called. However,
OnCallStateIdle never gets called in my CMainDlg class. What am I doing
wrong?
Angus Comber
angus@iteloffice.com
- Next message: John Harrison: "Re: Trouble with constructor(code included)"
- Previous message: Allan Bruce: "Re: Callback to a non-static method?"
- Next in thread: John Harrison: "Re: My override function never gets called?"
- Reply: John Harrison: "Re: My override function never gets called?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|