A
Anushya
Hi
How to get the handle of outlook in an addins for outlook..
I tried this and couldnot find the namespace of IOleWindow. Is it in
UnsafeMethods of System.windows.forms.
IntPtr GetWindowHandle(IOleWindow Item)
{
IntPtr hWnd;
IntPtr hResult;
hResult = Item.GetWindow(hWnd);
return hWnd;
}
GetWindowHandle(Connect.GlobalApplicationObject.ActiveExplorer());
How to proceed to get the outlook window handle??
Anushya
How to get the handle of outlook in an addins for outlook..
I tried this and couldnot find the namespace of IOleWindow. Is it in
UnsafeMethods of System.windows.forms.
IntPtr GetWindowHandle(IOleWindow Item)
{
IntPtr hWnd;
IntPtr hResult;
hResult = Item.GetWindow(hWnd);
return hWnd;
}
GetWindowHandle(Connect.GlobalApplicationObject.ActiveExplorer());
How to proceed to get the outlook window handle??
Anushya