Shell_NotifyIconGetRect获取托盘图标区域矩形大小
2013-06-18 17:41
519 查看
Shell_NotifyIconGetRect获取托盘图标区域矩形大小
链接:http://msdn.microsoft.com/en-us/library/dd378426(v=vs.85).aspx
This topic has not yet been rated - Rate
this topic
Gets the screen coordinates of the bounding rectangle of a notification icon.
C++
identifier [in]
Type: const [b]NOTIFYICONIDENTIFIER*[/b]
Pointer to a NOTIFYICONIDENTIFIER structure that identifies the icon.
iconLocation [out]
Type: [b]RECT*[/b]
Pointer to a RECT structure that, when this function returns successfully, receives the coordinates
of the icon.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Notifications and the Notification Area
链接:http://msdn.microsoft.com/en-us/library/dd378426(v=vs.85).aspx
Shell_NotifyIconGetRect function
This topic has not yet been rated - Ratethis topic
Gets the screen coordinates of the bounding rectangle of a notification icon.
Syntax
C++HRESULT Shell_NotifyIconGetRect( _In_ const NOTIFYICONIDENTIFIER *identifier, _Out_ RECT *iconLocation );
Parameters
identifier [in]Type: const [b]NOTIFYICONIDENTIFIER*[/b]
Pointer to a NOTIFYICONIDENTIFIER structure that identifies the icon.
iconLocation [out]
Type: [b]RECT*[/b]
Pointer to a RECT structure that, when this function returns successfully, receives the coordinates
of the icon.
Return value
Type: HRESULTIf this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client | Windows 7 [desktop apps only] |
---|---|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | Shellapi.h |
Library | Shell32.lib |
DLL | Shell32.dll (version 6.1 or later) |
See also
Notifications and the Notification Area
相关文章推荐
- 再学 GDI+[77]: 区域(6) - GetRegionScans - 获取区域中的所有矩形
- Shell_NotifyIcon 修改托盘图标失败的问题
- Shell_NotifyIcon实现任意托盘图标的隐藏与再现
- Shell_NotifyIcon(系统托盘图标API函数)详解 (转)
- 封装函数getClient获取当前显示区域的大小,即clientWidth和clientHeight
- VC下添加和删除系统托盘图标,处理响应事件(Shell_NotifyIcon)
- 关于调用Shell_NotifyIcon操作托盘图标失败的说明
- cvGetCol与cvGetCols 获取列 cvGetSubRect获取图像的矩形区域
- windows程序托盘图标以及消息提示--基本知识(Shell_NotifyIcon)
- Android获取窗口可视区域大小: getWindowVisibleDisplayFrame()
- windows程序托盘图标以及消息提示--基本知识(Shell_NotifyIcon)
- 【局部刷新】GetUpdateRect和GetClipBox 获取无效区域的区别
- Android获取窗口可视区域大小: getWindowVisibleDisplayFrame()
- shellnotifyicon,托盘图标气泡提示问题
- Android获取窗口可视区域大小: getWindowVisibleDisplayFrame()
- Shell_NotifyIcon(系统托盘图标API函数)详解
- VC 获取托盘图标信息 分类: VC技术 2012-03-27 20:16 3317人阅读 评论(1) 收藏 举报 nullaccessbuttonshellstructclass //本例以获取程
- Android获取窗口可视区域大小: getWindowVisibleDisplayFrame()
- VC 获取托盘图标信息
- Windows 托盘区域显示图标