Home » U++ Library support » U++ Widgets - General questions or Mixed problems » tray icon & balloon notification
Re: tray icon & balloon notification [message #778 is a reply to message #772] |
Thu, 02 February 2006 08:51 |
|
I have modified a TaskbarButton class posted by Tom to work with my Ultimate Player (it was not compatybile with newest upp). It is not finished, but you can use it
This is how I use it:
struct MyApp : TopWindow
{
TaskbarButton tray;
}
main...
MyApp app;
app.Open()
app.tray.Icon(MyIcon()).Label("MyApp");
app.tray.Init(app.GetHWND());
app.Run();
Use WhenDouble and WhenBar callbacks to add action for double click and popup menu.
Here it is the question to Mirek. As you can see I have to open appilication first to get the HWND for tray. It isn't the upp way . I saw that Tom was using (overloading) CrateInit(HWND hwnd) method wich is not supported now and which was called when hwnd was known (I suppose so). This was very useful and made code much clener. Is it possible to get this method back?
|
|
|
|
|
tray icon & balloon notification
By: hojtsy on Wed, 01 February 2006 16:32
|
|
|
Re: tray icon & balloon notification
By: mirek on Wed, 01 February 2006 18:01
|
|
|
Re: tray icon & balloon notification
By: unodgs on Thu, 02 February 2006 08:51
|
|
|
Re: tray icon & balloon notification
By: mirek on Thu, 02 February 2006 20:38
|
|
|
Re: tray icon & balloon notification
By: unodgs on Thu, 02 February 2006 21:32
|
|
|
Re: tray icon & balloon notification
By: mirek on Thu, 02 February 2006 23:00
|
|
|
Re: tray icon & balloon notification
By: unodgs on Fri, 03 February 2006 08:45
|
|
|
Re: tray icon & balloon notification
By: mirek on Fri, 03 February 2006 11:42
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Fri, 03 February 2006 12:45
|
|
|
Re: tray icon & balloon notification
By: mirek on Fri, 03 February 2006 13:38
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Fri, 03 February 2006 15:54
|
|
|
Re: tray icon & balloon notification
By: mirek on Fri, 03 February 2006 17:04
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Fri, 03 February 2006 17:19
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Mon, 06 February 2006 13:38
|
|
|
Re: tray icon & balloon notification
By: mirek on Mon, 06 February 2006 14:11
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Tue, 07 February 2006 13:09
|
|
|
Re: tray icon & balloon notification
By: mirek on Tue, 07 February 2006 22:40
|
|
|
Re: tray icon & balloon notification
By: hojtsy on Fri, 10 February 2006 10:26
|
|
|
Re: tray icon & balloon notification
By: mirek on Fri, 10 February 2006 10:45
|
Goto Forum:
Current Time: Tue May 14 20:22:32 CEST 2024
Total time taken to generate the page: 0.08682 seconds
|