KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I am editing a Word document in an OleContainer (inplace) and I switch to another Word document and then I switch back, I cannot use my rightmouse button anymore. The context menu will not show up. This happens on Word 2000, not on Word 2007 (I don't know about other versions). How can I get rid of this behaviour? How to reproduce: Create a new VCL Application Add a menubar Add a TOleContainer, Align alClient, AllowInPlace and AllowActiveDoc True. With the TOleContainer, insert an Word 97-2003 document Add a menuitem 'Close' to the menubar, in its eventhandler, add OleContainer1.DestroyObject , so you are able to stop editing Run this application, doubleclick on the OleContainer so it goes in editmode Now open Word 2000 Switch back to your application, the contextmenu will not work anymore. Edit: I reproduced above behavior on the following system (using Citrix): Windows Server 2003 Enterprise Edition Version 5.2 (Build 3790.srv03_sp2_rtm.070216-1710 : Service Pack 2) Microsoft Word 2000 (9.0.6926 SP-3) I used Delphi 7 (build 8.1) to create the application.
Tags (comma-separated)
Save Edits
Cancel