Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to create a HTML view in a docking pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to create a HTML view in a docking pane?

 Post Reply Post Reply
Author
Message
ocoralan View Drop Down
Groupie
Groupie


Joined: 14 November 2007
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote ocoralan Quote  Post ReplyReply Direct Link To This Post Topic: How to create a HTML view in a docking pane?
    Posted: 07 December 2011 at 11:32pm
Anybody has an example?

Thanks in advance.
Back to Top
sdancer75 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2008
Location: Greece
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdancer75 Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.