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

C / C++ / MFC

 
GeneralRe: CWnd::ModifyStyle Pin
Tomasz Sowinski7-Aug-02 4:34
Tomasz Sowinski7-Aug-02 4:34 
GeneralRe: CWnd::ModifyStyle Pin
Joel Lucsy7-Aug-02 4:39
Joel Lucsy7-Aug-02 4:39 
QuestionResource Modified outside of Visual Studio? Pin
dazinith7-Aug-02 3:42
dazinith7-Aug-02 3:42 
AnswerRe: Resource Modified outside of Visual Studio? Pin
Tim Smith7-Aug-02 5:05
Tim Smith7-Aug-02 5:05 
GeneralRe: Resource Modified outside of Visual Studio? Pin
dazinith7-Aug-02 5:22
dazinith7-Aug-02 5:22 
AnswerRe: Resource Modified outside of Visual Studio? Pin
Rob Caldecott7-Aug-02 9:30
Rob Caldecott7-Aug-02 9:30 
GeneralRich edit scroll Pin
Hans Ruck7-Aug-02 2:51
Hans Ruck7-Aug-02 2:51 
GeneralON_MESSAGE and multiple inheritance Pin
Will Woods7-Aug-02 2:48
Will Woods7-Aug-02 2:48 
Hi,

I have a class
class CTestDlg : public CDialog , public D360::CController
{

which I want to respond to messages like
BEGIN_MESSAGE_MAP(CTestDlg, CDialog)
	//{{AFX_MSG_MAP(CTestDlg)
	ON_MESSAGE(OLDA_WM_BUFFER_DONE,  OnBufferDone)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

This worked when the CTestDlg class only inherited from CDialog, but now I get the following compilation error
error C2440: 'type cast' : cannot convert from 'int (__thiscall CTestDlg::*)(unsigned int,long)' to 'long (__thiscall CWnd::*)(unsigned int,long)'
Pointers to members have different representations; cannot cast between them

I don't know much about the D360::CController class, it was supplied with some hardware.

Any suggestions would be appreciated.

Will
GeneralRe: ON_MESSAGE and multiple inheritance Pin
Tomasz Sowinski7-Aug-02 2:48
Tomasz Sowinski7-Aug-02 2:48 
GeneralRe: ON_MESSAGE and multiple inheritance Pin
Will Woods7-Aug-02 3:09
Will Woods7-Aug-02 3:09 
GeneralRe: ON_MESSAGE and multiple inheritance Pin
Tomasz Sowinski7-Aug-02 3:25
Tomasz Sowinski7-Aug-02 3:25 
GeneralRe: ON_MESSAGE and multiple inheritance Pin
Will Woods7-Aug-02 4:12
Will Woods7-Aug-02 4:12 
GeneralDeleteObject - Reselecting Old Object Pin
Anonymous7-Aug-02 2:21
Anonymous7-Aug-02 2:21 
GeneralRe: DeleteObject - Reselecting Old Object Pin
Tomasz Sowinski7-Aug-02 2:27
Tomasz Sowinski7-Aug-02 2:27 
GeneralRe: DeleteObject - Reselecting Old Object Pin
Anonymous7-Aug-02 3:17
Anonymous7-Aug-02 3:17 
GeneralRe: DeleteObject - Reselecting Old Object Pin
Tomasz Sowinski7-Aug-02 3:21
Tomasz Sowinski7-Aug-02 3:21 
GeneralRe: DeleteObject - Reselecting Old Object Pin
Anonymous7-Aug-02 4:07
Anonymous7-Aug-02 4:07 
GeneralThread func Pin
[CoY0te]6-Aug-02 23:56
[CoY0te]6-Aug-02 23:56 
GeneralRe: Thread func Pin
Tomasz Sowinski7-Aug-02 0:32
Tomasz Sowinski7-Aug-02 0:32 
GeneralRe: Thread func Pin
Joao Vaz7-Aug-02 0:39
Joao Vaz7-Aug-02 0:39 
GeneralRe: Thread func Pin
[CoY0te]7-Aug-02 1:07
[CoY0te]7-Aug-02 1:07 
GeneralRe: Thread func Pin
Tomasz Sowinski7-Aug-02 1:14
Tomasz Sowinski7-Aug-02 1:14 
GeneralRe: Thread func Pin
Daniel Lohmann7-Aug-02 1:38
Daniel Lohmann7-Aug-02 1:38 
GeneralRe: Thread func Pin
Tomasz Sowinski7-Aug-02 2:29
Tomasz Sowinski7-Aug-02 2:29 
GeneralRe: Thread func Pin
Daniel Lohmann7-Aug-02 3:24
Daniel Lohmann7-Aug-02 3:24 

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.