Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
RedDk10-Mar-22 8:22
RedDk10-Mar-22 8:22 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow10-Mar-22 9:35
ForNow10-Mar-22 9:35 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
RedDk10-Mar-22 9:40
RedDk10-Mar-22 9:40 
AnswerRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan10-Mar-22 22:19
mveRichard MacCutchan10-Mar-22 22:19 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 1:41
ForNow11-Mar-22 1:41 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 1:51
mveRichard MacCutchan11-Mar-22 1:51 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
ForNow11-Mar-22 2:13
ForNow11-Mar-22 2:13 
GeneralRe: Questions about EM_SETWORDBREAKPROC message and EDITWORDBREAKPROCA function Pin
Richard MacCutchan11-Mar-22 3:49
mveRichard MacCutchan11-Mar-22 3:49 
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 
I am not aware of any way you could do this, since there are no words that need breaking until they are displayed. You may need to consider other options, both of which require you to do all the display handling yourself:
1. Make your display a fixed width based on the font you are using and the amount of data you wish to display.
2. Rebuild the entire display whenever the Window is resized.

It may be possible to implement the above by subclassing the RichEdit control, although I have never done that in MFC.
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 

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.