Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCreating MFC exe - whats Automation support Pin
ns27-Jan-03 8:21
ns27-Jan-03 8:21 
GeneralRe: Creating MFC exe - whats Automation support Pin
Chris Losinger27-Jan-03 8:35
professionalChris Losinger27-Jan-03 8:35 
GeneralOkay! Pin
ns27-Jan-03 8:40
ns27-Jan-03 8:40 
GeneralButtons Help!!! Pin
nutkase27-Jan-03 8:13
nutkase27-Jan-03 8:13 
GeneralRe: Buttons Help!!! Pin
PJ Arends27-Jan-03 8:58
professionalPJ Arends27-Jan-03 8:58 
GeneralConfused: CButton's DrawItem and OnClicked Pin
JohnnyG27-Jan-03 8:04
JohnnyG27-Jan-03 8:04 
GeneralRe: Confused: CButton's DrawItem and onclicked Pin
Paolo Messina27-Jan-03 14:09
professionalPaolo Messina27-Jan-03 14:09 
GeneralRe: Confused: CButton's DrawItem and onclicked Pin
JohnnyG28-Jan-03 3:04
JohnnyG28-Jan-03 3:04 
Paolo,

Thanks, for the reply but I'm still confused. I did read TN062 yesterday and here's part of what it says:

If, in your parent window class, you supply a handler for a specific WM_NOTIFY message or a range of WM_NOTIFY messages, your handler will be called only if the child control sending those messages does not have a reflected message handler through ON_NOTIFY_REFLECT(). If you use ON_NOTIFY_REFLECT_EX() in your message map, your message handler may or may not allow the parent window to handle the message. If the handler returns TRUE, the message will be handled by the parent as well, while a call that returns FALSE does not allow the parent to handle it. Note that the reflected message is handled before the notification message.

So, If in my derived button class, I have ON_NOTIFY_REFLECT_EX(BN_CLICKED, OnClicked)and in my OnClicked member function I return TRUE. What do I need in the framewindow class or even the toolbar class? I mean do I need WM_NOTIFY message handler in one or both of these class files? Currently, I have nothing there but in my application class I have: ON_COMMAND(ID_VIEW_FREEZE, OnViewFreeze) because the button, toolbar button, and menu ID is the same. This worked fine when I was using just a plain CBitmapButton.
GeneralRe: Confused: CButton's DrawItem and onclicked Pin
Paolo Messina28-Jan-03 3:34
professionalPaolo Messina28-Jan-03 3:34 
GeneralRe: Confused: CButton's DrawItem and onclicked Pin
JohnnyG28-Jan-03 6:52
JohnnyG28-Jan-03 6:52 
GeneralRe: Confused: CButton's DrawItem and onclicked Pin
Paolo Messina29-Jan-03 0:33
professionalPaolo Messina29-Jan-03 0:33 
GeneralC++ DLL usage in VC7 Pin
Jim Crafton27-Jan-03 7:29
Jim Crafton27-Jan-03 7:29 
GeneralRe: C++ DLL usage in VC7 Pin
Joe Woodbury27-Jan-03 7:56
professionalJoe Woodbury27-Jan-03 7:56 
GeneralRe: C++ DLL usage in VC7 Pin
Mike Nordell27-Jan-03 9:16
Mike Nordell27-Jan-03 9:16 
GeneralWorker thread + memory leak.. Pin
RobJones27-Jan-03 7:01
RobJones27-Jan-03 7:01 
GeneralRe: Worker thread + memory leak.. Pin
Chris Meech27-Jan-03 7:35
Chris Meech27-Jan-03 7:35 
GeneralRe: Worker thread + memory leak.. Pin
RobJones27-Jan-03 7:51
RobJones27-Jan-03 7:51 
GeneralRe: Worker thread + memory leak.. Pin
Chris Meech27-Jan-03 7:56
Chris Meech27-Jan-03 7:56 
GeneralRe: Worker thread + memory leak.. Pin
RobJones27-Jan-03 8:06
RobJones27-Jan-03 8:06 
GeneralRe: Worker thread + memory leak.. Pin
Joaquín M López Muñoz27-Jan-03 8:05
Joaquín M López Muñoz27-Jan-03 8:05 
GeneralRe: Worker thread + memory leak.. Pin
RobJones27-Jan-03 9:38
RobJones27-Jan-03 9:38 
GeneralRe: Worker thread + memory leak.. Pin
Joaquín M López Muñoz27-Jan-03 9:44
Joaquín M López Muñoz27-Jan-03 9:44 
Generalerror C2712: Cannot use __try in functions that require object unwinding Pin
Joan M27-Jan-03 6:30
professionalJoan M27-Jan-03 6:30 
GeneralRe: error C2712: Cannot use __try in functions that require object unwinding Pin
Chris Meech27-Jan-03 7:43
Chris Meech27-Jan-03 7:43 
GeneralRe: error C2712: Cannot use __try in functions that require object unwinding Pin
Joan M27-Jan-03 8:32
professionalJoan M27-Jan-03 8:32 

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.