网站首页  词典首页

请输入您要查询的函数:

 

术语 defwindowproc
释义 DefWindowProc
语法:
LRESULT DefWindowProc( HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
DefWindowProc函数
在DefWindowProc函数调用默认的窗口过程提供任何窗口消息的应用程序不处理的默认处理。这个功能可以确保每封邮件处理。 DefWindowProc调用由窗口程序收到相同的参数。
参数
hWnd
[in]的窗口句柄程序,收到了消息。
消息
[in]指定的消息。
wParam
[in]指定的其他信息资料。这个参数的内容取决于对消息参数的值。
lparam的
[in]指定的其他信息资料。这个参数的内容取决于对消息参数的值。
返回值
返回值是该邮件的处理结果和消息而定。
备注
在Windows 95/98/Me:DefWindowProcW是支持的Unicode(MSLU)微软层。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
例如
有关示例,请设计一个窗口过程。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
窗口过程概述,CallWindowProc,DefDlgProc,的WindowProc
==英文原文==DefWindowProc Function
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
hWnd
[in] Handle to the window procedure that received the message.
Msg
[in] Specifies the message.
wParam
[in] Specifies additional message information. The content of this parameter depends on the value of the Msg parameter.
lParam
[in] Specifies additional message information. The content of this parameter depends on the value of the Msg parameter.
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 .
Example
For an example, see Designing a Window Procedure .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Window Procedures Overview , CallWindowProc , DefDlgProc , WindowProc
==原始网址==http://msdn.microsoft.com/en-us/library/ms633572(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:20:28