K
KarthikonIT via OfficeKB.com
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..
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..