Click here to Skip to main content
15,913,361 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLine spacing in an edit box Pin
Sorin Basca18-Nov-06 10:39
Sorin Basca18-Nov-06 10:39 
AnswerRe: Line spacing in an edit box Pin
Mark Salsbery18-Nov-06 13:17
Mark Salsbery18-Nov-06 13:17 
GeneralRe: Line spacing in an edit box Pin
Sorin Basca19-Nov-06 6:03
Sorin Basca19-Nov-06 6:03 
GeneralRe: Line spacing in an edit box Pin
Mark Salsbery19-Nov-06 6:07
Mark Salsbery19-Nov-06 6:07 
Questionclass function pointer to LPVOID Pin
edvintas18-Nov-06 10:16
edvintas18-Nov-06 10:16 
AnswerRe: class function pointer to LPVOID Pin
Waldermort18-Nov-06 10:30
Waldermort18-Nov-06 10:30 
GeneralRe: class function pointer to LPVOID Pin
edvintas18-Nov-06 10:58
edvintas18-Nov-06 10:58 
QuestionNotifications and messages in win app. Pin
sawerr18-Nov-06 9:24
sawerr18-Nov-06 9:24 
Hi I am reading some documents about win32 programming.And try to understand its event procedure.

For windows controls which i added to my application.When an event occurs windows add a msg to its msg tail.But also send WM_COMMAND msg to my application so i can do something when that event occurs.
For example for button click event:
Message:BM_CLICK
Notification:BN_CLICKED
(I hope i am right until now)

But i looked other controls mesg and notification lists.They don't match.I mean there is not notification for every message.
For example combobox have CB_ADDSTRING mesage, but it does not have CBN_ADDSTRING notification.
But why?

What is the concept for notification and messages, what is the differnces between them?

I hope i can explain my question well, i am trying to understand win32 event procedure fully when an event occurs.

I am looking for your answers.
Thanks..
AnswerRe: Notifications and messages in win app. Pin
sawerr18-Nov-06 9:36
sawerr18-Nov-06 9:36 
GeneralRe: Notifications and messages in win app. Pin
Waldermort18-Nov-06 9:51
Waldermort18-Nov-06 9:51 
AnswerRe: Notifications and messages in win app. Pin
Waldermort18-Nov-06 9:51
Waldermort18-Nov-06 9:51 
GeneralRe: Notifications and messages in win app. Pin
sawerr18-Nov-06 19:25
sawerr18-Nov-06 19:25 
AnswerRe: Notifications and messages in win app. Pin
Michael Dunn18-Nov-06 20:36
sitebuilderMichael Dunn18-Nov-06 20:36 
GeneralRe: Notifications and messages in win app. Pin
sawerr18-Nov-06 21:38
sawerr18-Nov-06 21:38 
GeneralRe: Notifications and messages in win app. Pin
Michael Dunn18-Nov-06 22:20
sitebuilderMichael Dunn18-Nov-06 22:20 
AnswerRe: Notifications and messages in win app. Pin
dinpura19-Nov-06 18:59
dinpura19-Nov-06 18:59 
QuestionFinding rectangle coordinates Pin
Oliver12318-Nov-06 9:18
Oliver12318-Nov-06 9:18 
AnswerRe: Finding rectangle coordinates Pin
PJ Arends18-Nov-06 9:23
professionalPJ Arends18-Nov-06 9:23 
QuestionVC6.0 to VC7 - templates, c++ standards conformance proble Pin
cobra99918-Nov-06 7:50
cobra99918-Nov-06 7:50 
AnswerRe: VC6.0 to VC7 - templates, c++ standards conformance proble [modified] Pin
Waldermort18-Nov-06 7:59
Waldermort18-Nov-06 7:59 
AnswerRe: VC6.0 to VC7 - templates, c++ standards conformance proble Pin
markkuk18-Nov-06 8:02
markkuk18-Nov-06 8:02 
AnswerRe: VC6.0 to VC7 - templates, c++ standards conformance proble Pin
PJ Arends18-Nov-06 8:08
professionalPJ Arends18-Nov-06 8:08 
GeneralRe: VC6.0 to VC7 - templates, c++ standards conformance proble Pin
cobra99918-Nov-06 12:51
cobra99918-Nov-06 12:51 
Questiondynamic array sizes Pin
Waldermort18-Nov-06 6:02
Waldermort18-Nov-06 6:02 
AnswerRe: dynamic array sizes Pin
PJ Arends18-Nov-06 6:33
professionalPJ Arends18-Nov-06 6:33 

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.