Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef char gchar;
- typedef HWND widget_t;
- typedef HICON icon_t;
- typedef NOTIFYICONDATA notify_icon_t;
- void notifyicon_demo_append_notify_icon(widget_t window, icon_t tasktray_icon)
- {
- notify_icon_t notify;
- gchar tooltip_text[] = "γγ΅γΌγ";
- notify.cbSize = sizeof(notify_icon_t);
- notify.hWnd = window;
- notify.uID = 0;
- notify.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
- notify.uCallbackMessage = WM_TRAYICONMESSAGE;
- notify.hICon = tasktray_icon;
- shell_notifyicon_append( ¬ify );
- }
Add Comment
Please, Sign In to add comment