![]() |
Ribbon and in-place OLE objects |
Post Reply
|
| Author | |
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbon and in-place OLE objectsPosted: 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.]
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??? |
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
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....
![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
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....
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 March 2007 at 6:25am |
|
Hi
Here changed RibbonSample.
try to click Insert Object in "Insert tab" and put some bitmap object.
Word 2007 also hide themed frame and show standard one when you activate inplace object.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |