windows_programming_notes.nbk: Home | Index | Next Page: EM_SETREADONLY | Previous Page: Edit controls
The EM_SETBKGNDCOLOR message sets the background color for a rich edit control.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) EM_SETBKGNDCOLOR, // message ID (WPARAM) wParam, // = (WPARAM) () wParam; (LPARAM) lParam // = (LPARAM) () lParam; );
This message returns the original background color.
windows_programming_notes.nbk: Home | Index | Next Page: EM_SETREADONLY | Previous Page: Edit controls
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time