Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ cout in header file error - ‘cout’ was not declared in this scope Pin
Vaclav_29-Nov-17 17:36
Vaclav_29-Nov-17 17:36 
Questionem_setwordbreakproc in MFC Pin
ForNow26-Nov-17 14:05
ForNow26-Nov-17 14:05 
AnswerRe: em_setwordbreakproc in MFC Pin
Richard MacCutchan26-Nov-17 21:37
mveRichard MacCutchan26-Nov-17 21:37 
GeneralRe: em_setwordbreakproc in MFC Pin
ForNow27-Nov-17 1:52
ForNow27-Nov-17 1:52 
GeneralRe: em_setwordbreakproc in MFC Pin
Richard MacCutchan27-Nov-17 6:23
mveRichard MacCutchan27-Nov-17 6:23 
AnswerRe: em_setwordbreakproc in MFC Pin
Jochen Arndt26-Nov-17 21:46
professionalJochen Arndt26-Nov-17 21:46 
GeneralRe: em_setwordbreakproc in MFC Pin
ForNow27-Nov-17 1:50
ForNow27-Nov-17 1:50 
GeneralRe: em_setwordbreakproc in MFC Pin
Jochen Arndt27-Nov-17 2:28
professionalJochen Arndt27-Nov-17 2:28 
How is that related to your initial question about a message map entry or a virtual function for this message?

What you have quoted describes what the function usually does.

I have never used it but would expect that it is called when required (e.g. every time when reaching the line limit while typing and when "the user presses arrow keys in combination with the CTRL key to move the caret to the next word or previous word").

Have a look at the EditWordBreakProc callback function (Windows)[^]. It describes the actions passed to the callback function which indicate when it is called.

But it does not matter when it is called. You just have to return a value according to the requested action. For the case of word break checks (WB_ISDELIMITER), the return value is usually TRUE for a space.
QuestionType Conversion error while running C++ code in ubuntu Pin
User 1350945025-Nov-17 18:18
professionalUser 1350945025-Nov-17 18:18 
AnswerRe: Type Conversion error while running C++ code in ubuntu Pin
Rick York25-Nov-17 19:48
mveRick York25-Nov-17 19:48 
PraiseRe: Type Conversion error while running C++ code in ubuntu Pin
CPallini26-Nov-17 7:46
mveCPallini26-Nov-17 7:46 
AnswerRe: Type Conversion error while running C++ code in ubuntu Pin
jeronimax26-Nov-17 13:16
jeronimax26-Nov-17 13:16 
GeneralRe: Type Conversion error while running C++ code in ubuntu Pin
User 1350945026-Nov-17 19:37
professionalUser 1350945026-Nov-17 19:37 
QuestionISSUE - TCP/IP sockets in MFC VS2017 Pin
D.Manivelan21-Nov-17 2:45
D.Manivelan21-Nov-17 2:45 
Rant[REPOST] ISSUE - TCP/IP sockets in MFC VS2017 Pin
Richard Deeming21-Nov-17 3:00
mveRichard Deeming21-Nov-17 3:00 
QuestionRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Richard MacCutchan21-Nov-17 3:01
mveRichard MacCutchan21-Nov-17 3:01 
AnswerRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
D.Manivelan21-Nov-17 17:41
D.Manivelan21-Nov-17 17:41 
GeneralRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Richard MacCutchan21-Nov-17 21:18
mveRichard MacCutchan21-Nov-17 21:18 
GeneralRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
D.Manivelan22-Nov-17 0:01
D.Manivelan22-Nov-17 0:01 
GeneralRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Richard MacCutchan22-Nov-17 0:46
mveRichard MacCutchan22-Nov-17 0:46 
AnswerRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Graham Breach21-Nov-17 21:14
Graham Breach21-Nov-17 21:14 
AnswerRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Victor Nijegorodov22-Nov-17 10:07
Victor Nijegorodov22-Nov-17 10:07 
QuestionFiguring Out How to Test Code Pin
Member 1352762517-Nov-17 16:48
Member 1352762517-Nov-17 16:48 
AnswerRe: Figuring Out How to Test Code Pin
Richard MacCutchan17-Nov-17 21:43
mveRichard MacCutchan17-Nov-17 21:43 
GeneralRe: Figuring Out How to Test Code Pin
Member 1352762519-Nov-17 10:34
Member 1352762519-Nov-17 10:34 

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.