6 Replies - 7531 Views - Last Post: 22 January 2008 - 03:08 PM Rate Topic: -----

#1 tootypegs  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 239
  • Joined: 09-October 07

system tray

Post icon  Posted 21 January 2008 - 04:38 PM

Hi, is there any snippets of code on DIC that show how to put a basic icon in the system tray in c++? My efforts have resulted in an icon that dissapears when i touch it with the mouse which isnt really what i was after
Is This A Good Question/Topic? 0
  • +

Replies To: system tray

#2 MorphiusFaydal  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: system tray

Posted 21 January 2008 - 05:39 PM

What operating system? Are you using vanilla C++?
Was This Post Helpful? 0
  • +
  • -

#3 tootypegs  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 239
  • Joined: 09-October 07

Re: system tray

Posted 22 January 2008 - 01:20 AM

I'm using Windows XP. "Vanilla c++???" - ive never herd of this, is it a compiler or does it mean am i using basic code? Anyway i use Borland C+ builder 6 and my knowledge isnt the best so i would say basic

Another edit ..... right i think i understand what you mean by vanilla but i think im using managed c++ - and example of my code -


__fastcall TForm1::TForm1(TComponent* Owner)
		: TForm(Owner)



This post has been edited by tootypegs: 22 January 2008 - 01:29 AM

Was This Post Helpful? 0
  • +
  • -

#4 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5178
  • View blog
  • Posts: 26,870
  • Joined: 10-May 07

Re: system tray

Posted 22 January 2008 - 01:03 PM

http://blogs.msdn.co...ystem-tray.aspx
If that doesn't help, I'm thinking that the API call is NotifyIcon. I think I may have some old source code that does this. If I come across it I'll post it here.
Was This Post Helpful? 0
  • +
  • -

#5 MorphiusFaydal  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: system tray

Posted 22 January 2008 - 02:05 PM

"Vanilla C++" is a bit of a geeky word for "unchanged"... Vanilla being the cooking flavouring that many consider "neutral" or "nothing fancy"

Not-vanilla C++ would be like Visual C++... Using Managed C++ in Microsoft Visual Studio.

So, in short, "Vanilla C++" wouldn't be "basic code" like you said, but ANSI/ISO C++. :)
Was This Post Helpful? 0
  • +
  • -

#6 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4309
  • View blog
  • Posts: 12,088
  • Joined: 18-April 07

Re: system tray

Posted 22 January 2008 - 03:01 PM

I use chocolate, vanilla, and strawberry C++. I call it Neapolitan C++.

Yeah I am a complex programmer. ;)
Was This Post Helpful? 0
  • +
  • -

#7 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5178
  • View blog
  • Posts: 26,870
  • Joined: 10-May 07

Re: system tray

Posted 22 January 2008 - 03:08 PM

View PostMartyr2, on 22 Jan, 2008 - 03:01 PM, said:

Yeah I am a complex programmer. ;)

I don't think it stops there... :blink: :crazy:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1