Click here to Skip to main content
15,898,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStandard Conversions about char Pin
28-Feb-02 19:38
suss28-Feb-02 19:38 
GeneralRe: Standard Conversions about char Pin
Joaquín M López Muñoz28-Feb-02 20:12
Joaquín M López Muñoz28-Feb-02 20:12 
GeneralRe: Standard Conversions about char Pin
Bill Wilson1-Mar-02 8:43
Bill Wilson1-Mar-02 8:43 
GeneralRe: Standard Conversions about char Pin
Tim Smith1-Mar-02 5:27
Tim Smith1-Mar-02 5:27 
GeneralPreventing a Non-resizable form from maximizing when run from a shortcut Pin
outlaw-torn28-Feb-02 19:05
outlaw-torn28-Feb-02 19:05 
GeneralRe: Preventing a Non-resizable form from maximizing when run from a shortcut Pin
Paul M Watt28-Feb-02 19:07
mentorPaul M Watt28-Feb-02 19:07 
GeneralRe: Preventing a Non-resizable form from maximizing when run from a shortcut Pin
Steen Krogsgaard1-Mar-02 3:37
Steen Krogsgaard1-Mar-02 3:37 
GeneralCustom message handling Pin
alex.barylski28-Feb-02 18:40
alex.barylski28-Feb-02 18:40 
How in MFC would I intercept messages prior to them being sent or mapped/directed to the message handlers...?

I need to perform special operations on WM_PAINT, WM_LBUTTONUP etc before they're mapped to OnPaint() OnLButtonDown(nFlags, CPoint) etc...?

Can this be accomplished using OnCmdMsg()...?

Anyone know any good explanations of OnCmdMsg..?

How would I use hooks in MFC, this would allow me to hijack a message and perform some calculations, change some WPARAM's before letting it continue. Basically I want the ability to do what was possible with plain jane SDK C code.

OnCommand() WndProc() don't lend themselves nicely to what i'm trying to get done.



"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Custom message handling Pin
Mazdak28-Feb-02 18:47
Mazdak28-Feb-02 18:47 
GeneralRe: Custom message handling Pin
Nish Nishant28-Feb-02 19:25
sitebuilderNish Nishant28-Feb-02 19:25 
GeneralRe: Custom message handling Pin
alex.barylski28-Feb-02 19:55
alex.barylski28-Feb-02 19:55 
GeneralRe: Custom message handling Pin
Michael Dunn28-Feb-02 20:52
sitebuilderMichael Dunn28-Feb-02 20:52 
GeneralRe: Custom message handling Pin
alex.barylski1-Mar-02 6:02
alex.barylski1-Mar-02 6:02 
GeneralRe: Custom message handling Pin
alex.barylski1-Mar-02 6:15
alex.barylski1-Mar-02 6:15 
GeneralRe: Custom message handling Pin
Nish Nishant28-Feb-02 21:25
sitebuilderNish Nishant28-Feb-02 21:25 
GeneralRe: Custom message handling Pin
alex.barylski1-Mar-02 6:12
alex.barylski1-Mar-02 6:12 
GeneralRe: Custom message handling Pin
Nish Nishant1-Mar-02 6:20
sitebuilderNish Nishant1-Mar-02 6:20 
GeneralRe: Custom message handling Pin
Steen Krogsgaard1-Mar-02 3:49
Steen Krogsgaard1-Mar-02 3:49 
GeneralRe: Custom message handling Pin
Anna-Jayne Metcalfe1-Mar-02 4:36
Anna-Jayne Metcalfe1-Mar-02 4:36 
GeneralRe: Custom message handling Pin
Nish Nishant1-Mar-02 5:03
sitebuilderNish Nishant1-Mar-02 5:03 
GeneralRe: Custom message handling Pin
Anna-Jayne Metcalfe1-Mar-02 9:12
Anna-Jayne Metcalfe1-Mar-02 9:12 
GeneralRe: Custom message handling Pin
Nish Nishant1-Mar-02 4:43
sitebuilderNish Nishant1-Mar-02 4:43 
GeneralRe: Custom message handling Pin
alex.barylski1-Mar-02 6:24
alex.barylski1-Mar-02 6:24 
GeneralRe: Custom message handling Pin
Nish Nishant1-Mar-02 6:33
sitebuilderNish Nishant1-Mar-02 6:33 
GeneralRe: Custom message handling Pin
Steen Krogsgaard3-Mar-02 21:32
Steen Krogsgaard3-Mar-02 21: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.