windows_programming_notes.nbk: Home | Index | Next Page: EN_ERRSPACE | Previous Page: Embed an HTML control in your own window using plain C


 EN_CHANGE

The EN_CHANGE notification message is sent when the user has taken an action that may have altered text in an edit control. Unlike the EN_UPDATE notification message, this notification message is sent after the system updates the screen. The parent window of the edit control receives this notification message through a WM_COMMAND message.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_COMMAND
      WPARAM wParam,   // edit control identifier, EN_CHANGE
      LPARAM lParam    // handle to edit control (HWND)
    );

Parameters

Remarks

Rich Edit: To receive EN_CHANGE notifications, specify ENM_CHANGE in the mask sent with the EM_SETEVENTMASK message. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.

Requirements


windows_programming_notes.nbk: Home | Index | Next Page: EN_ERRSPACE | Previous Page: Embed an HTML control in your own window using plain C


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time