Print Page | Close Window

Ribbon and in-place OLE objects

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6711
Printed Date: 12 November 2025 at 11:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon and in-place OLE objects
Posted By: robin_l
Subject: Ribbon and in-place OLE objects
Date Posted: 22 March 2007 at 9:07pm
If you embed an OLE object into an application built with a ribbon, there seem to be several problems with in-place editing. [Although the ribbon samples don't have an insert object command, you can copy an object and paste it into the RibbonSample. Double-clicking then opens it for editing.]
 
First, the menu bar does not appear (not visible) unless the Frame Theme is switched off.
 
Second, the ribbon bar stays visible when the in-place application is being edited.
 
Third, any additional toolbars are also not hidden when the in-place applicaiton is activated. Add a custom toolbar using the Customize command to see this work.
 
This applies to 10.4.2. Any chance of fixing???



Replies:
Posted By: robin_l
Date Posted: 27 March 2007 at 3:20am
Still a problem, so I suppose I'd better show what I mean.
 
Paint Bitmap object, embedded into the Wordpad sample:
 
Open for editing: toolbars/menus hidden and new menu shown correctly:
 
Select this object and paste it into the Ribbon Sample and double-click to open it for editing:
 
Note that any existing toolbars are not hidden, nor is the Ribbon itself. This is different from the way that in-place objects work in Office2007. And where is the menu??? If we turn off the Frame Theme (under Options) then we can see it!!! It is hidden under the title bar....


Posted By: Oleg
Date Posted: 27 March 2007 at 5:22am
Hi,
 
Check Samples\PropertyGrid\DrawClient  it show how to catch activate/deactivate event and show/hide toolbars. you also have to enable/disable Office2007 frame in this event.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: robin_l
Date Posted: 27 March 2007 at 6:06am
Hi Oleg,
 
While I could do that, it would be far more useful if the correct behaviour happened by default as then everyone would benefit. Would it be too hard to incorporate this into an update?
 
Thanks,
 
Robin


Posted By: robin_l
Date Posted: 27 March 2007 at 6:13am
Just another thought--toggling the frame theme results in a standard Windows title bar, which doesn't match anything. What is really needed is a 2007 themed title bar, as is done during print preview. Not that I'm asking for much....


Posted By: Oleg
Date Posted: 27 March 2007 at 6:25am
Hi
 
Here changed RibbonSample.
 
try to click Insert Object in "Insert tab" and put some bitmap object.
 
https://forum.codejock.com/uploads/20070327_062454_RibbonSample.zip - uploads/20070327_062454_RibbonSample.zip
 
Word 2007  also hide themed frame and show standard one when you activate inplace object.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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