View Single Post
  #2  
Old November 26th 07, 03:23 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Get the Position of Outlook 2007 Control relative to screen

There's no way to do it that I know of. Even looking in Spy++ I don't see
separate windows for the ribbon objects, just for the ribbon itself.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"n777krish" wrote in message
...
Hi all,

In Outlook 2003 and below a commandbarbutton used to have a Top and
Left property that allowed us to determine the location of the control
on the screen.

Is there any way to get the position of a Control in a Group on the
Outlook 2007 Ribbon.
The Office.IRibbonControl being passed into all the callbacks only has
three properties available.

I want to determine the position of the control and display my own tip
(just a form) on the screen for the user pointing at the Control
inside the group.

I have created my own Group on the toolbar which has some buttons in
it.

Thank you for any guidance.

Neil Goundar.


Ads