Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPToolBar in a CHtmlView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPToolBar in a CHtmlView

 Post Reply Post Reply
Author
Message
TerryT View Drop Down
Newbie
Newbie


Joined: 31 August 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote TerryT Quote  Post ReplyReply Direct Link To This Post Topic: CXTPToolBar in a CHtmlView
    Posted: 14 September 2006 at 12:38pm

I have a pane window containing a CHtmlView

I’ve created a toolbar (via sample GUI_Whidbey)

 

Problem: the toolbar overlays the CHtmlView

I was unable to figure out how to convince the CHtmlView to start at the bottom of the CXTPToolBar

 

Another solution would be to have the child of the pane window be a CWnd, create/attach the toolbar, creae/attach a CHtmlEditCtrl ?

Back to Top
TerryT View Drop Down
Newbie
Newbie


Joined: 31 August 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote TerryT Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2006 at 9:52pm

Apologies for the newbie moment…

The pane child window is now a CWnd
I dynamically created a CHtmlView object, and was able to move the window below the toolbar
 
 
 
 
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.047 seconds.