博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
win32gui中操作任务栏托盘区的函数
阅读量:7094 次
发布时间:2019-06-28

本文共 885 字,大约阅读时间需要 2 分钟。

hot3.png

.Shell_NotifyIcon

Shell_NotifyIcon(Message, nid)

Adds, removes or modifies a taskbar icon.

 

Parameters

 

Message : int

 

One of win32gui.NIM_* flags

 

nid : Tuple containing NOTIFYICONDATA info

Items

 

[0]  : hWnd

 

Handle to window that will process icon's messages

 

[1] int : ID

 

Unique id used when hWnd processes messages from more than one icon

 

[2] int : Flags

 

Combination of win32gui.NIF_* flags

 

[3] int : CallbackMessage

 

Message id to be pass to hWnd when processing messages

 

[4]  : hIcon

 

Handle to the icon to be displayed

 

[5] str : Tip

 

Tooltip text (optional)

 

[6] str : Info

 

Balloon tooltip text (optional)

 

[7] int : Timeout

 

Timeout for balloon tooltip, in milliseconds (optional)

 

[8] str : InfoTitle

 

Title for balloon tooltip (optional)

 

[9] int : InfoFlags

 

Combination of win32gui.NIIF_* flags (optional)

Tuple containing NOTIFYICONDATA info

转载于:https://my.oschina.net/piginwind/blog/693657

你可能感兴趣的文章
解析函數論 Page 29 命題(3) 模的下界的可達性
查看>>
windows异常调用顺序
查看>>
红黑树
查看>>
Sass
查看>>
Objective-C中Block语法、Block使用以及通过Block实现数组排序
查看>>
[转载]从业务运维转到产品经理,我摸爬滚打的产品之路
查看>>
比较正在使用的域名 和顶层窗口的域名
查看>>
Gitlab - Mac本机访问VirtualBox上搭建的Gitlab
查看>>
Bootstrap的Model源码详细注释 (转)
查看>>
java采用jxl写入一个Excel文件
查看>>
1171:大整数的因子
查看>>
传说中的数据结构 栈
查看>>
结对-结对编项目作业名称-设计文档
查看>>
Cesium 获取当前视图范围
查看>>
javascript基础
查看>>
加快普及智能家居DIY功能更受青睐
查看>>
python成长之路八 -- 内置函数
查看>>
【框架学习与探究之定时器--Quartz.Net 】
查看>>
Date 与 SimpleDateFormat
查看>>
C++ 11 创建和使用 unique_ptr
查看>>