How to delete or modify NotifyIcon?
I use EnumWindows to get a window handle, And want delete NotifyIcon of this window.
NI_Icon.cbSize = sizeof( NI_Icon );
NI_Icon.hWnd = hwnd;
Shell_NotifyIcon( NIM_DELETE, &NI_Icon );
That no effect. But can add NotifyIcon of this window whit this way.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement