Article View: alt.comp.lang.learn.c-c++
Article #77Need help finishing an OLE/ActiveX Component in C++
From: Brian Kessler
Date: Tue, 07 May 2002 17:14
Date: Tue, 07 May 2002 17:14
53 lines
3151 bytes
3151 bytes
Good afternoon!
I am a long time user of computers, but a novice when it comes to both
ActiveX and C++. This has not discouraged my current employer from giving
me an assignment that requires the use of both. I'm hoping that I can find
some "experts", perhaps on this list who might either have solutions or be
able to recommend some good reference materials.
Without getting too specifically into the program, I would like to know
how to do all of the following:
(1) When dropping the ActiveX component into MicroSoft Office (Word, Excel,
Powerpoint, Outlook, etc.), the
component should take on the "Wrapping Style" which could be described as
"In Front Of". In other words, the component is to be overlayed, not
embedded.
A. It seems to me that there should be an easy way to set a property for
the component if one knows the correct variable name, but I can't seem to
find that information.
B. If there is no such property as can be set within the ActiveX
component, then it should be possible when one drops or displays the
component to execute a procedure which will set the property within the
Office document.
(2) Currently, if the document is saved with multiple instances of the
ActiveX component, when the document is reopened, only the first instance is
displayed. The other is either hidden or lost. How can I allow (or
display) multiple instances of the component?
(3) This should be easy -- if you know how to do it, which I don't. Limit
the user's options in Office to either move or delete the component.
A. This should mostly be possible with a custom OnRightClick (or some sort
of equivalent) procedure.
B. There may be backdoors for editing the properties through the Office
menus or toolbars; these must also be blocked.
Thanks in advance for any help, whether it be code or links to good sites
for this sort of information.
-Brian Kessler.
Princeton Design Group, Inc. Tel:908-359-9136
601 Omni Drive Fax:908-359-9137
Hillsborough, NJ 08844
USA Email:bm_kessler@subdimension.com
Personal Website: http://nowhereatall.virtualave.net
Technical Details
Message-ID:
<ab927k$9r4$1@bob.news.rcn.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114592,bc084262c3332629,start X-Google-Attributes: gid114592,public X-Google-Thread: 10d4ba,bc084262c3332629,start X-Google-Attributes: gid10d4ba,public X-Google-ArrivalTime: 2002-05-07 10:18:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: "Brian Kessler" <bmk_pdg@yahoo.com> Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++ Subject: Need help finishing an OLE/ActiveX Component in C++ Date: Tue, 7 May 2002 13:14:14 -0400 Lines: 57 Message-ID: <ab927k$9r4$1@bob.news.rcn.net> X-Trace: UmFuZG9tSVbK+w+ErMzwPdF9/QOqrn0nl5fRJA+5r+fuK86tqQjJ2WHHJTg+GPJz X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 7 May 2002 17:17:40 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal