8 messages in com.googlegroups.google-desktop-developerRe: link to follow when item is clicked
FromSent OnAttachments
malcolm20 Sep 2005 15:38 
brian20 Sep 2005 19:30 
malcolm20 Sep 2005 19:41 
poz20 Sep 2005 21:52 
malcolm20 Sep 2005 22:09 
malcolm21 Sep 2005 09:43 
poz21 Sep 2005 23:59 
malcolm22 Sep 2005 07:25 
Subject:Re: link to follow when item is clicked
From:poz (sati@hotmail.com)
Date:09/21/2005 11:59:06 PM
List:com.googlegroups.google-desktop-developer

For that to work you should not do anything in your OpenItem(), just throw "throw new NotImplementedException()" like the other functions (eg. TogglePinnedState) do in the C# sample. That exception tells the sidebar to do the default processing which is to open the given command.

malcolm wrote:

Sadly, though, even though I have set this with put_open_command(), the command seems not to be executed. I have tried various common commands such as "notepad.exe", as well as using an URL. I can, of course, retrieve the URL using get_open_command, and call ShellExecute([URL here]) myself in the OpenItem() method, to launch the default browser, but I'd like to do this in the officially approved way. Is there a flag I need to set somewhere, or something, to have the built-in classes take care of making the call?

Thanks, Malcolm