5 messages in com.googlegroups.google-desktop-developerRe: various issues
FromSent OnAttachments
Judah21 Jul 2008 08:19 
Judah22 Jul 2008 03:41 
James [GD Team]22 Jul 2008 14:16 
Judah23 Jul 2008 02:55 
James [GD Team]24 Jul 2008 11:18 
Subject:Re: various issues
From:Judah (yeho@gmail.com)
Date:07/23/2008 02:55:20 AM
List:com.googlegroups.google-desktop-developer

Dear James & Teo,

Thanks for responding.

Teo: point taken about inserting multiple issues into a single post. will try not to in future . James: Thanks for acknowledging the bug with the desktop Do you have a date for when the next version of the desktop will be released? . James, the reason I was inserting an element at the beginning of the list was because I'm dealing with a roll of items and the list seemed the nearest thing to a roll. but in order to create the rolling effect I need to be able to insert items at the beginning of the list (alternatively I could redraw the list but it seems a lot less efficient) .

Teo, as regards moving the cursor outside the desktop it is useful for taking the user directly to another part of the screen like the details pane or a browser the gadget has opened.

As regards hybrid gadgets, I've read Krzysztof 's article before but it seems to only talk about ActiveX components. ActiveX won't run cross platform and rely on the system registry to be installed. (admittedly, requiring a user to install the .NET framework or the Java runtime is not exactly an ideal alternative. But I'm just a lot more comfortable developing in .NET and Java than I am in C++)

On 23 יולי, 00:17, "James [GD Team]" <j.@google.com> wrote:

Hi Judah,

On Jul 21, 8:19 am, Judah <yeho@gmail.com> wrote:

Three Questions

1) Anyone know how I can insert an element at the beginning of a list. I've found that I can insert an element at the beginning of list using list.insertElement(<xml>...</xml>, list.children(-1)) and it works in the designer but when I install and run the gadget in the desktop the gadget freezes! (a bug perhaps?)

This is a bug. It should be fixed in the next release. Is there a reason the new element needs to be at the beginning?

i've tried using a null reference for the element and that doesn't work either.

2) is it possible to control the cursor from outside the desktop. lets say i'm on windows - is it possible to do it from javascript and the windows api or do i need to create a separate dll

3) as regards creating external dlls, a) can a java library be created and run within the desktop b) can a .net library be created c) can an activeX library (or a java or .net library) provide visual elements that can be viewed within the google desktop's display area? what about from the details pane?

This is typically done with a hybrid gadget. Please check out this article:

http://code.google.com/support/bin/answer.py?answer=76586&topic=11366

Theoretically, this could be possible using .NET, but it isn't supported, and I've yet to see an implementation.

Best advice would be to try developing a traditional ActiveX library.

Cheers! James