网站首页  词典首页

请输入您要查询的函数:

 

术语 senddlgitemmessage
释义 SendDlgItemMessage
语法:
LRESULT SendDlgItemMessage( HWND hDlg,
int nIDDlgItem,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
SendDlgItemMessage函数
该SendDlgItemMessage函数将消息发送到指定的控制一个对话框。
参数
hDlg
[in]句柄对话框,其中包含了控制。
nIDDlgItem
[in]指定的控制,接收消息标识符。
消息
[in]指定要发送的信息。
wParam
[in]指定附加消息的特定信息。
lparam的
[in]指定附加消息的特定信息。
返回值
返回值指定消息处理的结果,取决于对信息发送。
备注
该SendDlgItemMessage函数不返回,直到消息已被处理。
使用SendDlgItemMessage是相同的检索的句柄指定的控制和调用SendMessage函数。
在Windows 95/98/Me:SendDlgItemMessageW是支持微软层对于Unicode。要使用此,您必须将某些文件到您的应用,概述了对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版本。
参见
对话框概述,SendMessage消息
==英文原文==SendDlgItemMessage Function
The SendDlgItemMessage function sends a message to the specified control in a dialog box.
Syntax
LRESULT SendDlgItemMessage( HWND hDlg,
int nIDDlgItem,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
Parameters
hDlg
[in] Handle to the dialog box that contains the control.
nIDDlgItem
[in] Specifies the identifier of the control that receives the message.
Msg
[in] Specifies the message to be sent.
wParam
[in] Specifies additional message-specific information.
lParam
[in] Specifies additional message-specific information.
Return Value
The return value specifies the result of the message processing and depends on the message sent.
Remarks
The SendDlgItemMessage function does not return until the message has been processed.
Using SendDlgItemMessage is identical to retrieving a handle to the specified control and calling the SendMessage function.
Windows 95/98/Me: SendDlgItemMessageW is supported by the Microsoft Layer for Unicode. 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 Creating a Modeless Dialog Box .
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
Dialog Boxes Overview , SendMessage
==原始网址==http://msdn.microsoft.com/en-us/library/ms645515(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 11:24:37