Click here to Skip to main content
16,004,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A simple question on PreTranslateMessage and ON_WM_ [modified] Pin
Justin Tay29-Jul-06 7:37
Justin Tay29-Jul-06 7:37 
GeneralRe: A simple question on PreTranslateMessage and ON_WM_ Pin
Jay Zhu29-Jul-06 18:34
Jay Zhu29-Jul-06 18:34 
GeneralRe: A simple question on PreTranslateMessage and ON_WM_ Pin
Jay Zhu29-Jul-06 18:49
Jay Zhu29-Jul-06 18:49 
GeneralRe: A simple question on PreTranslateMessage and ON_WM_ Pin
Justin Tay29-Jul-06 19:59
Justin Tay29-Jul-06 19:59 
Questiona Simple Question about ON_MESSAGE and ON_NOTIFY Pin
JackNotAll29-Jul-06 3:03
JackNotAll29-Jul-06 3:03 
AnswerRe: a Simple Question about ON_MESSAGE and ON_NOTIFY Pin
Ryan Binns29-Jul-06 5:18
Ryan Binns29-Jul-06 5:18 
GeneralRe: a Simple Question about ON_MESSAGE and ON_NOTIFY Pin
JackNotAll30-Jul-06 3:25
JackNotAll30-Jul-06 3:25 
GeneralRe: a Simple Question about ON_MESSAGE and ON_NOTIFY Pin
Ryan Binns30-Jul-06 4:44
Ryan Binns30-Jul-06 4:44 
JackNotAll wrote:
why do he use the ON_NOTIFY macro?

WM_NOTIFY messages contain a sub-message type that indicates the specific type of WM_NOTIFY message that is being sent. In this example, he is handling a WM_NOTIFY message of type CLVN_EDITCHANGE. Since the base message is a WM_NOTIFY, he is using ON_NOTIFY() to handle it. You could use ON_MESSAGE() if you really wanted to, but it's not the best way to do it.


Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: a Simple Question about ON_MESSAGE and ON_NOTIFY Pin
JackNotAll30-Jul-06 19:26
JackNotAll30-Jul-06 19:26 
QuestionTransparent checkboxes Pin
Twister33629-Jul-06 1:22
Twister33629-Jul-06 1:22 
AnswerRe: Transparent checkboxes Pin
includeh1029-Jul-06 5:11
includeh1029-Jul-06 5:11 
GeneralRe: Transparent checkboxes Pin
Twister33629-Jul-06 5:46
Twister33629-Jul-06 5:46 
GeneralRe: Transparent checkboxes Pin
anthonym728-Aug-06 5:55
anthonym728-Aug-06 5:55 
QuestionSending a bit stream through the serial port (VC++ 6.0) Pin
Dhananjayak0229-Jul-06 1:00
Dhananjayak0229-Jul-06 1:00 
AnswerRe: Sending a bit stream through the serial port (VC++ 6.0) Pin
Gary R. Wheeler29-Jul-06 3:04
Gary R. Wheeler29-Jul-06 3:04 
GeneralRe: Sending a bit stream through the serial port (VC++ 6.0) Pin
Dhananjayak0229-Jul-06 20:27
Dhananjayak0229-Jul-06 20:27 
Questioni can't get my class to recognize message maps Pin
abednego0028-Jul-06 22:40
abednego0028-Jul-06 22:40 
Questionwhere does variables get stored? Pin
WCup28-Jul-06 22:33
WCup28-Jul-06 22:33 
AnswerRe: where does variables get stored? [modified] Pin
Rilhas28-Jul-06 23:41
Rilhas28-Jul-06 23:41 
Questionslider control help Pin
JesGDev28-Jul-06 22:19
JesGDev28-Jul-06 22:19 
AnswerRe: slider control help Pin
Naveen28-Jul-06 23:06
Naveen28-Jul-06 23:06 
GeneralRe: slider control help Pin
JesGDev29-Jul-06 7:26
JesGDev29-Jul-06 7:26 
GeneralRe: slider control help Pin
Justin Tay29-Jul-06 11:45
Justin Tay29-Jul-06 11:45 
GeneralRe: slider control help Pin
JesGDev29-Jul-06 12:01
JesGDev29-Jul-06 12:01 
QuestionCxImage class Pin
includeh1028-Jul-06 22:19
includeh1028-Jul-06 22:19 

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.