windows_programming_notes.nbk: Home | Index | Next Page: WM_ENTERSIZEMOVE | Previous Page: WM_ENTERIDLE


 WM_ENTERMENULOOP

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

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      WM_ENTERMENULOOP,  // message to send
      WPARAM wParam,   // track popup menu indicator
      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_programming_notes.nbk: Home | Index | Next Page: WM_ENTERSIZEMOVE | Previous Page: WM_ENTERIDLE


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