windows_programming_notes.nbk: Home | Index | Next Page: EM_SETREADONLY | Previous Page: Edit controls


 EM_SETBKGNDCOLOR

The EM_SETBKGNDCOLOR message sets the background color for a rich edit control.

Syntax

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; 
    );   

Parameters

Return Value

This message returns the original background color.

Message Information


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