View Full Version : Was system tray implementation changed?
Ron
October 13th, 2002, 12:55 PM
It basically stayed the same, it was rewritten but it still uses the win32 api.
Ron
October 13th, 2002, 12:55 PM
I actually installed it just now, I have one thing that I can check, if that isn't it we are out of luck.
Ron
October 13th, 2002, 12:55 PM
Okay I found it, this is actually a bug in geoshell. When Girder updates the icon Girder does not update the CALLBACK message, thus leaving it at the old value ( as per Win32 API )
nid.uFlags:=NIF_ICON;
Shell_NotifyIcon(message_num,@nid);
However Geoshell seems to reset the internal Callbackmessage parameter even though we told it not to. Anyway by setting girder to do this we work around the bug.
nid.uFlags:=NIF_ICON or NIF_MESSAGE;
nid.uCallbackMessage:=WM_TRAYICONMESSAGE;
Shell_NotifyIcon(message_num,@nid);
This is a workaround, maybe someone could report this thread to someone at geoshell.
Ron
October 13th, 2002, 12:55 PM
Try this one:
http://www.girder.nl/temp/Girder320bpre2.zip
mcguyton
October 13th, 2002, 12:55 PM
I use geoShell for my shell.
The system tray icon of Girder 3.12 worked fine.
The system tray icon in 3.2 has the following problems:
-tool tip is just random nonsense characters
-icon doesn't respond to clicks.
I'm just curious as to what changed in the way this icon was implemented.
Thank you.
mcguyton
October 13th, 2002, 12:55 PM
Thanks for the quick response.
I can think of one other program that gives problems to the geoTray plugin of geoShell (but most programs do work fine).
So I'm guessing this problem is not within Girder. But still, if you have any ideas or suggestions as to where the miscommunication could be, I'd appreciate hearing them.
If you're curious, the Visual C++ source for geoShell is at
http://www.geoshellx.com/bins.asp.
Within that zip, the geoTray source is in the plugins\geOTray directory.
The source looks pretty short, but I've never programmed in Windows so I have trouble figuring it out.
mcguyton
October 13th, 2002, 12:55 PM
Thanks so much, Ron! You're work-around functions great.
I've also posted this thread to the geoShell plugin bug report forum.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.