windows_programming_notes.nbk: Home | Index | Next Page: WM_EXITSIZEMOVE | Previous Page: WM_ERASEBKGND


 WM_EXITMENULOOP

The WM_EXITMENULOOP message informs an application's main window procedure that a menu modal loop has been exited.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      WM_EXITLOOP,     // message to send
      WPARAM wParam,   // menu status
      LPARAM lParam    // not used
    );

Parameters

Return Values

An application should return zero if it processes this message.

Remarks

The DefWindowProc function returns zero.

Requirements

  Windows NT/2000 or later: Requires Windows NT 3.1 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_EXITSIZEMOVE | Previous Page: WM_ERASEBKGND


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