Print Page | Close Window

How to create a HTML view in a docking pane?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=19281
Printed Date: 27 May 2024 at 5:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to create a HTML view in a docking pane?
Posted By: ocoralan
Subject: How to create a HTML view in a docking pane?
Date Posted: 07 December 2011 at 11:32pm
Anybody has an example?

Thanks in advance.



Replies:
Posted By: sdancer75
Date Posted: 31 December 2011 at 10:35am
You have to create a CHtmlView derived class and then attach this view in your pane.

There is no difference if you attach a CView or a CHtmlView or any other View in your panes.

To view a simple html file just use the Navigate2 function ie 

Navigate2(_T("http://www.google.com"));

you can find plenty of examples out there.



-------------
Just me!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net