|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user-defined
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| WNDPROC
|
|
|
WindowProc
The WindowProc function is an application-defined callback function that processes messages
sent to a window.
LRESULT CALLBACK WindowProc(
HWND hwnd,
| // handle of window
| UINT uMsg,
| // message identifier
| WPARAM wParam,
| // first message parameter
| LPARAM lParam
| // second message parameter
| );
|
|
Parameters
hwnd
Identifies the window.
uMsg
Specifies the message.
wParam
Specifies additional message information. The contents of this parameter
depend on the value of the uMsg parameter.
lParam
Specifies additional message information. The contents of this parameter
depend on the value of the uMsg parameter.
Return Values
The return value is the result of the message processing and depends on the
message sent.
Remarks
WindowProc is a placeholder for the application-defined function name.
See Also
CallWindowProc, DefWindowProc, RegisterClass
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|