windows_programming_notes.nbk: Home | Index | Next Page: windows | Previous Page: window startup
The WindowProc function is an application-defined function that processes messages sent to a window. The WNDPROC type defines a pointer to this callback function. WindowProc is a placeholder for the application-defined function name.
LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
The return value is the result of the message processing and depends on the message sent.
Header Declared in Winuser.h, include Windows.h
windows_programming_notes.nbk: Home | Index | Next Page: windows | Previous Page: window startup
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time