BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Followup to Deborah Pate's Answer RE: TOleContainer and TWor

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Dan Gaskin
Guest





PostPosted: Mon Sep 20, 2004 8:04 pm    Post subject: Followup to Deborah Pate's Answer RE: TOleContainer and TWor Reply with quote



I ran into the same problem of the TWordApplication and OLEContainer getting
confused over ownership, so I changed all of my code to reference throught
the OLEContainer.OLEObject.Application, which works fine except for allowing
me to intercept activity in word. I used to use
"WordApp.OnWindowSelectionChange := WordSelChange;" (my event procedure),
but this doesn't work through the OLEContainer nor throught the
_Application. Is there some other way to get on the OnWindowSelectionChange
using the _Application?

Thanks


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.