i download an example that puts an icon to the tray of windows bar. I checked it and it works.
I insert the menu (called m_icontray) and the connection (called n_icontray) (dont know exacly what it is or how to create this connection). So i import them to one project i created and i tried to call this code:
// add window icon to tray
// register hotkey
If Not in_tray.of_RegisterHotKey(this, 1, in_tray.MOD_WIN, in_tray.KeyF8) Then
MessageBox(this.title, "RegisterHotKey failed, hotkey already in use!")
this code exists at the open event of the form. But when i save it i have an error saying that the in_tray variable is undefined. I search to find this variable on the prototype project but couldn't found it. Where this variable might be? help please...the project is from the examples page of sybase(you have to login) and is called "icontray.zip"