Click here to Skip to main content
15,920,031 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Overriding "Window | Close All" Pin
Ravi Bhavnani4-Aug-03 3:27
professionalRavi Bhavnani4-Aug-03 3:27 
GeneralRe: Overriding "Window | Close All" Pin
Neville Franks4-Aug-03 3:35
Neville Franks4-Aug-03 3:35 
GeneralRe: Overriding "Window | Close All" Pin
Ravi Bhavnani5-Aug-03 1:27
professionalRavi Bhavnani5-Aug-03 1:27 
Generalreseditor Pin
devvvy3-Aug-03 16:28
devvvy3-Aug-03 16:28 
QuestionChange wallpaper & Active Desktop ? Pin
blueinred3-Aug-03 16:13
blueinred3-Aug-03 16:13 
AnswerRe: Change wallpaper & Active Desktop ? Pin
zeki yugnak4-Aug-03 3:18
zeki yugnak4-Aug-03 3:18 
GeneralRe: Change wallpaper & Active Desktop ? Pin
zeki yugnak4-Aug-03 3:20
zeki yugnak4-Aug-03 3:20 
GeneralUnable to format text in a RichEdit, not using MFC Pin
Aidman3-Aug-03 10:49
Aidman3-Aug-03 10:49 
Hi, all Smile | :)

I have created a RichEdit box (version 1.0) using regular windows API (no MFC) but I can’t seem to format (using the SendMessage() function) any part of the text in the control. I have tested both formatting the paragraphs (PARAMFORMAT structure) and characters (CHARFORMAT structure) but nothing seems to get displayed. The return values (from both EM_SETPARAFORMAT and EM_SETCHARFORMAT flags) are nonzero, which indicates success. I know that I am setting the cbSize and the dwMask structure members correctly because after setting the format, I use EM_GETPARAFORMAT and EM_GETCHARFORMAT flags to check if the changes was actually made, and it is (but just not displayed). This experience is really strange, I really don’t know what I am doing wrong or missing. And I can’t seem to find any examples on formatting text in a Rich Edit without using MFC. Any ideas on how to solve this or find any examples are greatly appreciated.

Thanks in advance

Aidman » over and out
We haven't inherited Earth from our parents, instead we have borrowed her from our children; an old Indian saying.
Generalfound the problem Pin
Aidman3-Aug-03 12:58
Aidman3-Aug-03 12:58 
Generalnoob platform sdk/borland c++ 5.5 setup question Pin
rodent¹3-Aug-03 9:08
rodent¹3-Aug-03 9:08 
GeneralAfxWndProc hook Pin
Joe49163-Aug-03 8:44
Joe49163-Aug-03 8:44 
GeneralRe: AfxWndProc hook Pin
MAAK3-Aug-03 11:33
MAAK3-Aug-03 11:33 
GeneralRe: AfxWndProc hook Pin
Ryan Binns3-Aug-03 20:20
Ryan Binns3-Aug-03 20:20 
GeneralRe: AfxWndProc hook Pin
Joe49169-Aug-03 3:52
Joe49169-Aug-03 3:52 
GeneralRedistributing MFC from the web Pin
Shutter3-Aug-03 6:38
Shutter3-Aug-03 6:38 
GeneralRe: Redistributing MFC from the web Pin
Cathy3-Aug-03 7:54
Cathy3-Aug-03 7:54 
GeneralWindow not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 6:07
Marcus Spitzmiller3-Aug-03 6:07 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 7:59
Cathy3-Aug-03 7:59 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 8:08
Marcus Spitzmiller3-Aug-03 8:08 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 13:48
Cathy3-Aug-03 13:48 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 9:14
professionalJoe Woodbury3-Aug-03 9:14 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 10:37
Marcus Spitzmiller3-Aug-03 10:37 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 18:11
professionalJoe Woodbury3-Aug-03 18:11 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller4-Aug-03 3:20
Marcus Spitzmiller4-Aug-03 3:20 
GeneralFlat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 5:41
Eugene Pustovoyt3-Aug-03 5:41 

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.