System Tray Popups
This isn''t exactly game programming related (hell, not even close), so I wouldn''t be surprised to see this thread closed pretty quickly...
Anyway, can anyone point me in the right direction to make a popup like MSN Messenger does when a new message comes in? I''ve got an icon on the system tray, and I''d like to have a small window slide up above it when one of my reminders goes off.
I have an idea...
After you add the icon, call Shell_NotifyIcon with NIM_MODIFY and set something like:
NOTIFYICONDATA notIcon;
// ...cbsize and stuff...
notIcon.uFlags = NIF_INFO;
notIcon.szInfo = "You have a new message!";
// set other fields related to NIF_INFO here
Goblineye Entertainment
The road to success is always under construction
After you add the icon, call Shell_NotifyIcon with NIM_MODIFY and set something like:
NOTIFYICONDATA notIcon;
// ...cbsize and stuff...
notIcon.uFlags = NIF_INFO;
notIcon.szInfo = "You have a new message!";
// set other fields related to NIF_INFO here
Goblineye Entertainment
The road to success is always under construction
Possibly I could elaborate... I can create the window easily enough, and just place it along the top edge of the taskbar, but how should I make it slide up and down? Should I simply move it frame by frame in my code?
Actually, perhaps I spoke too soon. Hadn''t seen Tornado''s reply. Sounds like this should work perfectly, just going to go code it up ''n see. I''ll post back later. Thx Tornado.
quote:
Looks like this is what I could follow, for anyone interested:
Status bar messages like Messenger
Ohhhhhh......... I thought you meant like - A little tooltip...
I never used MSN Messenger
Goblineye Entertainment
The road to success is always under construction
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement