网站首页  词典首页

请输入您要查询的函数:

 

术语 getcomboboxinfo
释义 GetComboBoxInfo
语法:
BOOL GetComboBoxInfo( HWND hwndCombo,
PCOMBOBOXINFO pcbi
);
GetComboBoxInfo功能
检索信息指定组合框。
参数
hwndCombo
[in]的句柄组合框。
pcbi
[out] 一个 COMBOBOXINFO结构,接收信息的指针。必须设置在调用此函数COMBOBOXINFO.cbSize。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该CB_GETCOMBOBOXINFO消息等同于这一职能。
例如
下面的示例代码检索所指定的窗口句柄组合框中的信息。
COMBOBOXINFO信息=(sizeof(COMBOBOXINFO));
GetComboBoxInfo(的HWND,及资讯);
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最小98经营systemsWindows时,Windows NT 4.0 Service Pack 6中
参见
CB_GETCOMBOBOXINFO,COMBOBOXINFO,GetListBoxInfo
==英文原文==GetComboBoxInfo Function
Retrieves information about the specified combo box.
Syntax
BOOL GetComboBoxInfo( HWND hwndCombo,
PCOMBOBOXINFO pcbi
);
Parameters
hwndCombo
[in] A handle to the combo box.
pcbi
[out] A pointer to a COMBOBOXINFO structure that receives the information. You must set COMBOBOXINFO.cbSize before calling this function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
The CB_GETCOMBOBOXINFO message is equivalent to this function.
Example
The following example code retrieves information about the combo box specified by the window handle.
COMBOBOXINFO info = { sizeof(COMBOBOXINFO) };
GetComboBoxInfo(hwnd, &info);
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 98, Windows NT 4.0 with Service Pack 6
See Also
CB_GETCOMBOBOXINFO , COMBOBOXINFO , GetListBoxInfo
==原始网址==http://msdn.microsoft.com/en-us/library/bb775939(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:25