Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

MarkyD

Those funny little thingys in the corner of the screen.

This topic is 6172 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m asking for a lot over the last week, aren''t I? Anyway, don''t ask why, but how can you add an icon to the system tray in the corner of the Windows screen? I looked at the Microsoft''s programmers guide to Windows 95 help file, but that just gave me a whole load of dog turd. This isn''t that important to me at the moment, but it would be nice to know for the future. For that matter, I better know how to remove it, too. Thanks to anybody who posts any useful replies. ~ There''s no substitute for failure ~

Share this post


Link to post
Share on other sites
Advertisement
Look up Shell_NotifyIcon().

WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(
DWORD dwMessage,
PNOTIFYICONDATA pnid
);

Share this post


Link to post
Share on other sites
Well, I tried that...

...and it failed. Kind of.

I can get the icon in the tray, and remove it, without any problems. However, for some reason, when my code finishes that whole procedure (I think they''re voids in C) it stops and I get an EAccessViolation error message. What''d I do wrong?

~ There''s no substitute for failure ~

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!