www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe General Support > Using SkylineGlobe API
  New Posts New Posts RSS Feed: WPF with Skyline Globe
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

WPF with Skyline Globe

 Post Reply Post Reply
Author
Message
chocstarfish View Drop Down
Visitor
Visitor
Avatar

Joined: September 11 2009
Online Status: Offline
Posts: 1
Post Options Post Options   Quote chocstarfish Quote  Post ReplyReply Direct Link To This Post Topic: WPF with Skyline Globe
    Posted: September 11 2009 at 6:48am

Is it possible to build a WPF application with Skyline Globe since the latter can only be embeded as an ActiveX control?

if yes, can anybody share any experience in developping such application?
 
I really appreciate that.Embarrassed
 
Back to Top
sagi View Drop Down
Visitor
Visitor


Joined: September 14 2009
Online Status: Offline
Posts: 1
Post Options Post Options   Quote sagi Quote  Post ReplyReply Direct Link To This Post Posted: September 14 2009 at 9:23am

To add TerraExplorer activex to a wpf application do the following:

Add a regular window form, UserControl class (for example MyCtrl).
In the UserControl from designer add the TerraExplorer activex control.
 
In the WPF page add a tag: <WindowsFormsHost> for this example I will use <WindowsFromsHost Name="_host"/>
 
In the code part of the WPF you can now set the WindowsFromsHost element child as the UserControl using following api:
_host.Child=new MyCtrl()
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.