help help help 关于托盘的问题高手帮忙呀

jesselee 2001-07-30 10:53:55
我在.h文件中定义了
typedef struct _NOTIFYICONDATA{
DWORD cbSize;
HWND hWnd;
UINT uID;
UINT uFlags;
UINT uCallbackMessage;
HICON hIcon;
char szTip[64];
} NOTIFYICONDATA;

但调试时出现
res = Shell_NotifyIcon(NIM_ADD,&mid);
error C2664: 'Shell_NotifyIconA' :
cannot convert parameter 2 from 'struct CTeleDlg::_NOTIFYICONDATA *' to 'struct _NOTIFYICONDATAA *'
怎么解决
...全文
91 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
SuperChen 2001-07-30
  • 打赏
  • 举报
回复
不需要自己定義 NOTIFYICONDATA, 在 shellapi.h 中已經定義好了.
sunyanbiao_12 2001-07-30
  • 打赏
  • 举报
回复

Shell_NotifyIcon(NIM_ADD,mid);
red_eyes 2001-07-30
  • 打赏
  • 举报
回复
写的不够清楚,看不明白!
jesselee 2001-07-30
  • 打赏
  • 举报
回复
点击最小化按钮怎样 使工作区
里的按钮消失,像foxmail那样
panda_w 2001-07-30
  • 打赏
  • 举报
回复
就是NOTIFYICONDATA结构根本不需要你去定义
网络上流传的都是3.0的破解版,使用中还有些小问题,不太好用,这个是我自己整理的,使用的是3.2的内核,和优化过的汉化语言包,没有3.0的使用bug。 解压缩即可运行,已注册。 PS Tray Factory The system tray icons management utility Current version: 3.2 OS: Windows 7/Vista/XP/2K/9X/NT (32 and 64 bit) License: Try-before-you-buy Cost: $24.95 PS Tray Factory is a powerful and handy tool meant to flexibly control ALL the other icons in the system tray of the taskbar. PS Tray Factory will help you to manage all the applications that place their icons in the taskbar tray. When you have installed PS Tray Factory, you will forget about the problem of lack of space in the system tray, and will also get an easy, fast and handy tool to handle those applications. In short, ALL Windows users will get this handy and powerful tool at their disposal, whereas only Windows XP users have an idea of it. For the latter, we have made a nice surprise, as the features of PS Tray Factory exceed the standard built-in ones of this OS. With PS Tray Factory you can quickly hide system tray icons and easy manage them. PS托盘工厂 系统托盘图标的管理程序 当前版本:3.2 操作系统:Windows 7 / Vista / XP / 2 K / 9 X / NT(32位和64位) 许可:起来 费用:$ 24.95 PS托盘工厂是一个强大而灵活方便的工具旨在控制其他所有图标在任务栏的系统托盘。PS托盘工厂将帮助您管理的所有应用程序把他们的图标在任务栏上托盘。当你已经安装了PS托盘工厂,你会忘记这个问题缺乏空间在系统托盘中,也将得到一个简单、快速和方便的工具来处理那些应用程序。简而言之,所有的Windows用户将得到这个方便的和强大的工具可供选择,而只有Windows XP用户有一个想法。对于后者,我们已经有了一个美好的惊喜,因为功能PS的托盘工厂超过标准的内置函数的操作系统。与PS托盘工厂可以快速隐藏系统托盘图标和容易管理它们。 网络上流传的都是3.0的破解版,使用中还有些小问题,不太好用,这个是我自己整理的,使用的是3.2的内核,和优化过的汉化语言包,没有3.0的使用bug。 解压缩即可运行,已注册。

16,548

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • AIGC Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧