New topic: 

TrayItem.Handle ??

<http://forums.realsoftware.com/viewtopic.php?t=45276>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        jlawrence          Post subject: TrayItem.Handle ??Posted: Thu 
Sep 06, 2012 3:24 pm                         
Joined: Thu Dec 16, 2010 1:22 pm
Posts: 181                Can anyone explain what this is and how it can be 
used?

The LR says it "Returns the window handle that the TrayItem belongs to on 
Windows and the GtkStatusIcon widget on Linux. On Windows, the first TrayItem 
has a ID of 1000 and subsequent adds will increment this ID."

However in my testing that is not the case, or I'm missing something.  Who does 
the TrayItem "belong to"?  The System Tray?  It's not the same handle as 
that... my mainwindow? It's not the same handle as that either...

And what does the "ID of 1000" mean?  Where would I use this "1000"?

I think the LR could use a little more clarification on this...

I'm trying to use a balloon style notification balloon on XP in the System 
Tray, and I can add a new tray item and show the balloon using only declares, 
but then I lose the ability to handle my events.  So basically I would like to 
add my own trayitem and then use a declare (with the appropriate handle) just 
to pop up the balloon. 

I've been banging my head on this for days with no success.  I thought maybe 
TrayItem.handle could be my missing link...  Any ideas?

Thanks!   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

rbforumnotifier@monkeybreadsoftware.de

Reply via email to