Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Windows Systray examples needed
Windows Systray examples needed [message #17797] Fri, 29 August 2008 14:30 Go to next message
lonnietc is currently offline  lonnietc
Messages: 3
Registered: August 2008
Junior Member
Greetings All,

I am new to Ultimate and starting work on a project that will be using a systray interface.

In QT they hade a very nice example but since I like what I have seen in Ultimate, I would rather use this library instead.

Does anyone have a nice and simple example that will popup a menu from a systray icon to get me started?

Thanks,
Lonnie
Re: Windows Systray examples needed [message #17798 is a reply to message #17797] Fri, 29 August 2008 15:15 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Welcome!

What you want is the TrayIcon project, under 'Reference' in the package selector dialog.

It seems very easy to use, hope it helps.
Re: Windows Systray examples needed [message #17799 is a reply to message #17798] Fri, 29 August 2008 15:56 Go to previous messageGo to next message
lonnietc is currently offline  lonnietc
Messages: 3
Registered: August 2008
Junior Member
Thanks for the help.

I was able to compile the reference example with the TheIDE compiler using MinGW and just need to now figure out where TheIDE is placing the executable.

Thanks again and have agreat weekend.
Lonnie
Re: Windows Systray examples needed [message #17800 is a reply to message #17799] Fri, 29 August 2008 16:01 Go to previous messageGo to next message
lonnietc is currently offline  lonnietc
Messages: 3
Registered: August 2008
Junior Member
Oops....

never mind, I just found it....

Will take a little time to get use to Ultimate's layout I guess...

Cheers,
Lonnie
Re: Windows Systray examples needed [message #17801 is a reply to message #17797] Fri, 29 August 2008 16:29 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Took me 3 years to notice "Build / Open output directory" and to start using it. (than again, maybe it was added later .. and maybe I'm just ignorant way too much)
So in case you figured it out in 1 day, you are far superior to me. Wink Smile

[Updated on: Fri, 29 August 2008 16:29]

Report message to a moderator

Re: Windows Systray examples needed [message #17802 is a reply to message #17801] Fri, 29 August 2008 16:34 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
That's funny: I don't have such a menu option in 2008.1. Maybe it is only present in latest svn.
Re: Windows Systray examples needed [message #17803 is a reply to message #17802] Fri, 29 August 2008 16:59 Go to previous messageGo to next message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Quote:

That's funny: I don't have such a menu option in 2008.1. Maybe it is only present in latest svn.

From what I've noticed, it only shows up after you compile for the first time that session. But it has been around for some time now.

[Updated on: Fri, 29 August 2008 16:59]

Report message to a moderator

Re: Windows Systray examples needed [message #17804 is a reply to message #17803] Fri, 29 August 2008 17:20 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
It's aways there on Windows, but I've never seen it when using Linux.

[Updated on: Fri, 29 August 2008 17:20]

Report message to a moderator

Re: Windows Systray examples needed [message #17806 is a reply to message #17804] Fri, 29 August 2008 17:29 Go to previous messageGo to next message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Ahh, your right. I think it would be handy to have on Linux too, no?
Re: Windows Systray examples needed [message #18009 is a reply to message #17806] Sat, 06 September 2008 13:22 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
captainc wrote on Fri, 29 August 2008 11:29

Ahh, your right. I think it would be handy to have on Linux too, no?


Definitely. If you can tell me how to do it... Smile

Mirek
Re: Windows Systray examples needed [message #18011 is a reply to message #18009] Sat, 06 September 2008 13:39 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Sat, 06 September 2008 13:22

captainc wrote on Fri, 29 August 2008 11:29

Ahh, your right. I think it would be handy to have on Linux too, no?


Definitely. If you can tell me how to do it... Smile

Mirek



Can not quite guess what is the problem on Linux that needs to be solved for implementation.
Re: Windows Systray examples needed [message #18012 is a reply to message #18009] Sat, 06 September 2008 13:44 Go to previous messageGo to next message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
We would have to detect the default file manager and run that. We could cover the top few. Gnome with Nautilus, KDE with Konquerer, Thunar, ...
Or... provide an option for the user to set his own file manager and run that, so long as it accepts the command form
"filemanager <path>" and you could just exec it. I know I would like to have that functionality with U++ so that it doesn't use explorer on Windows (I use CubicExplorer for file manager on Windows -> www.cubicreality.com).
Re: Windows Systray examples needed [message #18013 is a reply to message #18012] Sat, 06 September 2008 15:51 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
Thanks, didn't think of that.
Yes that takes a bit code to make everybody happy.
Not hard. Just a little bit of grunt work, unless you simply have the user type in the command.

[Updated on: Sat, 06 September 2008 15:51]

Report message to a moderator

Re: Windows Systray examples needed [message #18018 is a reply to message #18013] Sat, 06 September 2008 23:11 Go to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
"Build/Open output directory" menu is now available in TheIDE for Linux too, in svn.

cdabbd745f1234c2751ee1f932d1dd75

[Updated on: Sat, 06 September 2008 23:15]

Report message to a moderator

Previous Topic: Homebudget Translation
Next Topic: Collaborative U++ Projects
Goto Forum:
  


Current Time: Thu Mar 28 09:48:58 CET 2024

Total time taken to generate the page: 0.01213 seconds