![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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. |
#2
|
|||
|
|||
![]()
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. |
#3
|
|||
|
|||
![]()
Hi Ken,
Thank you for your response. I had already checked using Spy++ and I wasn't able to get a window myself. Isn't there any other way to do this? Probably not since there don't seem to be windows inside the Ribbon that we can access. Thanks once again. Neil Goundar. |
#4
|
|||
|
|||
![]()
No way to do it that I know of.
There are no properties like Top or Left for Ribbon controls, none of the *Mso methods added to the CommandBars object help and since they seem to be constructing everything behind the scenes into one window nothing to be done using Win32 API calls. You might want to try posting something about this problem on Jensen Harris's blog (http://blogs.msdn.com/jensenh/default.aspx) to throw this up for possible inclusion in Office 14. I don't expect to see a lot of new functionality returned that we lost with the ribbon but it never hurts to let the owner of the ribbon know what you think is missing. -- 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 Ken, Thank you for your response. I had already checked using Spy++ and I wasn't able to get a window myself. Isn't there any other way to do this? Probably not since there don't seem to be windows inside the Ribbon that we can access. Thanks once again. Neil Goundar. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import -- using relative dates in a field? | Mike B | Outlook - Calandaring | 2 | September 17th 07 02:06 PM |
Outlook 2007 Attachment Position | [email protected] | Outlook and VBA | 1 | August 6th 07 05:29 PM |
Stationery GPO Control - Outlook 2003/2007 | -_- | Outlook - General Queries | 1 | May 22nd 07 03:32 AM |
Outlook View Control embedded in custom control | [email protected] | Outlook - General Queries | 1 | November 8th 06 12:41 PM |
Outlook View Control embedded in custom control | [email protected] | Outlook - Using Forms | 1 | November 8th 06 12:41 PM |