windows_programming_notes.nbk: Home | Index | Next Page: DeleteObject | Previous Page: DeferWindowPos


 DefWindowProc

The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.

Syntax

    LRESULT DefWindowProc(  
        HWND    hWnd,
        UINT    Msg,
        WPARAM  wParam,
        LPARAM  lParam
    );

Parameters

Return Value

The return value is the result of the message processing and depends on the message.

Remarks

Windows 95/98/Me: DefWindowProcW is supported by the Microsoft Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .

Function Information


windows_programming_notes.nbk: Home | Index | Next Page: DeleteObject | Previous Page: DeferWindowPos


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