From: mauro Gaggero on
Hi all,
I would like to embed google earth into a matlab GUI. Is it possible? I browsed the web for a lot of time but I found nothing... Someone can help me?

Thanks!
Mauro
From: mauro Gaggero on
"mauro Gaggero" <mauro.gaggero(a)gmail.com> wrote in message <hlrofc$1t4$1(a)fred.mathworks.com>...
> Hi all,
> I would like to embed google earth into a matlab GUI. Is it possible? I browsed the web for a lot of time but I found nothing... Someone can help me?
>
> Thanks!
> Mauro

Many trials have failed, so I decided to change my approach. Using Google Earth APIs, I'm able to launch Google Earth from Matlab as a separate window. With GetRenderHwnd method of the APIs I'm able to get the handle (windows operating system handle) of Google earth window.

Is there a way to get a snapshot (as an image) of the contents of a window whose handle (again, the "hwnd" of microsoft windows os, not the matlab handle!) is known?

Is this is possible, I can take such a snapshot, save it to a file, and load this file as an image into the GUI... This should be ok for me...

Any help is highly appreciated! :-)

Mauro