A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 Form Regions and C++



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 7th 06, 08:01 PM posted to microsoft.public.outlook.program_addins
Jeffrey
external usenet poster
 
Posts: 1
Default Outlook 2007 Form Regions and C++

Has anyone succeeded in getting Outlook 2007 form regions to work with
a C++ add-in? The publicly available sample code is in C# and I have
no problem getting that to work. But, I'm running into a wall getting
regions to work in C++.

If I'm not mistaken, form regions work by having the add-in object
supply both the IDTExtensibility2 and the _FormRegionStartup
interfaces. To satisfy this, I have my add-in class inherit from two
instances of IDispatchImpl, one for each of the interfaces. However,
when this add-in is installed in Outlook 2007, the _FormRegionStartup
interface never gets used. In the debugger, I can see that the add-in
is connected (OnConnection) and that Outlook 2007 calls QueryInterface
to obtain the _FormRegionStartup interface. However, Outlook doesn't
do anything with the _FormRegionStartup interface once it is available.
The functions in the interface are never called.

So, if you've succeeded in getting this feature to work in a c++
add-in, did you have any trouble getting there? Would you be willing
to post sample code?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OL 2007 - Set custom form region as default Fidget Brain Outlook - Using Forms 8 July 6th 06 04:36 PM
Groove 2007 connect to Outlook 2007 both betas Doug Add-ins for Outlook 0 July 1st 06 01:36 AM
How can I insert an address from Outlook 2007 into Word 2007? Ron Perry Outlook - Using Contacts 2 June 6th 06 04:24 AM
Outlook program, outlook form, local webpage form & Excel Junoon Outlook and VBA 1 April 3rd 06 07:45 AM
I send an Outlook custom form, but a std. form displays? Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 08:41 PM


All times are GMT +1. The time now is 08:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.