windows_programming_notes.nbk: Home | Index | Next Page: WM_LBUTTONDBLCLK | Previous Page: WM_KEYUP


 WM_KILLFOCUS

The WM_KILLFOCUS message is sent to a window immediately before it loses the keyboard focus.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_KILLFOCUS
      WPARAM wParam,   // handle to window (HWND)
      LPARAM lParam    // not used
    );

Parameters


windows_programming_notes.nbk: Home | Index | Next Page: WM_LBUTTONDBLCLK | Previous Page: WM_KEYUP


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