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

C / C++ / MFC

 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 3:49
mveRichard MacCutchan11-Mar-22 3:49 
I have created a similar test (although not MFC), and it appears to work. Remember that the callback will not get called until the edit control is trying to reformat some text to fit in the window. I tested mine just by dragging the right hand edge to make the window narrower. As soon as a word needed to be broken, the callback got actioned.
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 4:08
ForNow11-Mar-22 4:08 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 4:19
mveRichard MacCutchan11-Mar-22 4:19 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 4:46
ForNow11-Mar-22 4:46 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 4:54
mveRichard MacCutchan11-Mar-22 4:54 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 5:06
ForNow11-Mar-22 5:06 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 6:11
mveRichard MacCutchan11-Mar-22 6:11 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 7:56
ForNow11-Mar-22 7:56 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Randor 11-Mar-22 12:55
professional Randor 11-Mar-22 12:55 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 22:03
mveRichard MacCutchan11-Mar-22 22:03 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow12-Mar-22 13:23
ForNow12-Mar-22 13:23 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow12-Mar-22 13:28
ForNow12-Mar-22 13:28 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan12-Mar-22 22:14
mveRichard MacCutchan12-Mar-22 22:14 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow13-Mar-22 5:01
ForNow13-Mar-22 5:01 
QuestionC++ programming Pin
ali khan Mar20226-Mar-22 8:08
ali khan Mar20226-Mar-22 8:08 
AnswerRe: C++ programming Pin
Richard MacCutchan6-Mar-22 21:57
mveRichard MacCutchan6-Mar-22 21:57 
AnswerRe: C++ programming Pin
Edd.Dan1-May-22 4:47
professionalEdd.Dan1-May-22 4:47 
QuestionGetting a specific version of rich edit Pin
ForNow6-Mar-22 8:02
ForNow6-Mar-22 8:02 
AnswerRe: Getting a specific version of rich edit Pin
Randor 9-Mar-22 9:25
professional Randor 9-Mar-22 9:25 
GeneralRe: Getting a specific version of rich edit not hitting my WordBreak Function Pin
ForNow9-Mar-22 13:49
ForNow9-Mar-22 13:49 
QuestionStruct with union with different sized members - How can I declare the smallest struct? Pin
arnold_w6-Mar-22 1:17
arnold_w6-Mar-22 1:17 
AnswerRe: Struct with union with different sized members - How can I declare the smallest struct? Pin
Mircea Neacsu6-Mar-22 2:39
Mircea Neacsu6-Mar-22 2:39 
QuestionLine Break Rich Edit Pin
ForNow5-Mar-22 17:42
ForNow5-Mar-22 17:42 
AnswerRe: Line Break Rich Edit Pin
Richard Andrew x646-Mar-22 4:33
professionalRichard Andrew x646-Mar-22 4:33 
GeneralRe: Line Break Rich Edit Pin
ForNow6-Mar-22 5:19
ForNow6-Mar-22 5: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.