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

C / C++ / MFC

 
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 
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 
Will Woods wrote:
Is this a general problem with ON_MESSAGE and multiple inheritance, or just a strange quirk of the classes I am trying to inherit from?

Well, the MFC wasn't designed with multiple inheritance in mind. This means that you can't have your object derived from CCoolWnd and COtherWnd. OTOH, you can derive your object from CWnd (or CView, CDialog, or any other MFC window class) and non-MFC class[es]. In such case you just have to make sure that MFC class is first in the base classes list. I've used this approach in many MFC-based projects.

So one possible reason for your problems would be CController deriving from some MFC class. Can you have a look on the D360 docs?



Tomasz Sowinski -- http://www.shooltz.com

What is "scratch" and why can everything be made from it?

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 
GeneralRe: Thread func Pin
[CoY0te]7-Aug-02 2:36
[CoY0te]7-Aug-02 2:36 
GeneralRe: Thread func Pin
Daniel Lohmann7-Aug-02 3:30
Daniel Lohmann7-Aug-02 3:30 
GeneralBitmap Pin
anuprasad6-Aug-02 23:43
anuprasad6-Aug-02 23:43 

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.