But it's not just a case of creating the icon. You also need to set up a hook for the mouse events (ok, so it's just a defined constant in the WM_USER range), create a popup menu for the icon, handle the additional WM_COMMAND and WM_USER events, ... I think the point Owen was trying to make was that he wanted some sample code for a systray app that was easier to understand than the assembler code of freenet.exe.
Granted, the API calls are always going to be the same irrespective of the programming language - but you still need to code the WndProc - so you still need to be able to understand the _structure_ of the WndProc ----- Original Message ----- From: "Sebastian Sp?th" <[email protected]> To: <ywwg at usa.net>; "Freenet" <devl at freenetproject.org> Sent: Thursday, April 26, 2001 9:35 AM Subject: Re:[freenet-devl] systray icon > Owen Williams <ywwg at usa.net> wrote on 26.4.2001 00:49:47: > > > >I was wondering if someone knew an easier way of creating a system tray > >icon than the assembly (!!) implementation Freenet has. I need a tray > >icon for my own program (FreeSearch) because no one seems to be willing
