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

Get Inspector Ptr In Outlook 2007.



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 11th 10, 01:57 PM posted to microsoft.public.outlook.program_addins
KarthikonIT via OfficeKB.com
external usenet poster
 
Posts: 14
Default Get Inspector Ptr In Outlook 2007.

Hi,
I m creating a plugin in MS Outlook in VC++
I have implemented the "_IDTExtensibility2" & "IRibbonExtensibility"


I have few doubts
Ques 1:
I have added a button to the tab "idMso=\"TabReadMessage" in OUtlook 2007
ribbon controls. It gives me IDispatch* in the call back function, but i m
not able to get the
"Outlook::_InspectorPtr" by QueryInterface method. It returns null for
Outlook::_InspectorPtr.

whereas I was able to ge the "Outlook::_InspectorPtr" from the LPDISPATCH
para of the Callback fn. of Outlook 2003

How do I get the inspector ptr of the email opened(double click of message)
in OUtlook 2007.

code snippet of call back

STDMETHODIMP CConnect::ButtonClicked(IDispatch * RibbonControl)
{
Outlook::_InspectorPtr spInspctrPtr;

RibbonControl-QueryInterface(__uuidof(Outlook::_InspectorPtr),( void **)
&spInspctrPtr; //spInspctrPtr - is always null.

}


Ques 2:

I have added a button to the ribbon control and set an image to it.
If i give a bmp file, it is loading up in MS Outlook. whereas If i give a png
file(transparent one) it's not loading up..

Is there any specific dimention or property i need to set in the png file?


Thanks..

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/201001/1

 




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
How to set button priority in groups on Outlook 2007 Inspector tab a3kumarz Outlook and VBA 1 November 17th 08 02:46 PM
Inspector wrapper and Inspector close not fireing [email protected] Add-ins for Outlook 1 June 20th 08 01:53 PM
Word "SendMail" crashes Outlook Inspector (2007) Dave Taylor[_2_] Add-ins for Outlook 3 May 16th 08 09:32 PM
How to uniquely identify explorer / inspector objects in Outlook 2007 gernot Add-ins for Outlook 5 September 11th 07 09:11 PM
Help! Inspector.Close is fired before Inspector.Activate handler finishes Sergey Anchipolevsky Add-ins for Outlook 8 February 9th 06 09:51 AM


All times are GMT +1. The time now is 12:42 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.