Win32 : set default font and text color for rich edit
问题 It should be an easy question but I was unable to find an answer on google: How to set a default font and color to a richedit using plain c++ and win32 ? 回答1: From MSDN: You can also use EM_SETCHARFORMAT and EM_GETCHARFORMAT messages to set and retrieve the character formatting of the insertion point, which is the formatting that is applied to any subsequently inserted characters. For example, if an application sets the default character formatting to bold and the user then types a character,