Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: system tray

From: greggirwin:mindspring at: 28-Oct-2002 13:33

<< I was thinking exactly the same thing :) I wonder if anyone at RT has time to disclose this little secret for us. >> It's not too hard to do, really, but there are some details to consider. The icon issue is one, what you do in response to a message is another. If you want to show a layout, then do you need to use the API to get the cursor position? If you want to display a popup menu, do you use a native REBOL layout approach, or do you use CreateMenu+TrackPopupMenu? If the latter, then you need to catch the messages for the commands you put on the menu as well. There is only one tray icon API call to worry about. You use parameters/flags and a structure to tell it what to do (add, modify, remove icon) and then respond to the incoming messages. --Gregg