强制终止别人的程序?
可在任务栏留了个图标.只有当mouse 移以上面。它才会消失。
怎么编程使这个图标消失???(刷新也没用。注意任务栏的图标不是我创建的.)

解决方案 »

  1.   

    用这个API可以吗?
    首先得到你的任务拦的那个图标的指针
    WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(
        DWORD dwMessage, // message identifier
        PNOTIFYICONDATA pnid // pointer to structure
       );
    dwMessage参数
    NIM_ADD          Adds an icon to the status area.
    NIM_DELETE Deletes an icon from the status area.//就这个消息
    NIM_MODIFY Modifies an icon in the status area. 
     pnid参数
    Pointer to a NOTIFYICONDATA structure. The content of the structure depends on the value of dwMessage.