Print Page | Close Window

CXTPToolBar in a CHtmlView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5052
Printed Date: 04 March 2025 at 10:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPToolBar in a CHtmlView
Posted By: TerryT
Subject: CXTPToolBar in a CHtmlView
Date 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 ?




Replies:
Posted By: TerryT
Date 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
 
 
 
 



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