Feature Request: OnHover Event for Ribbon Buttons

Add-in Express™ Support Service
That's what is more important than anything else

Feature Request: OnHover Event for Ribbon Buttons
 
thiede




Posts: 40
Joined: 2016-07-05
Hi,

is it possible to get an OnHover Event for Ribbon Buttons?

Greets
Christopher
Posted 23 Aug, 2017 06:12:40 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hello Christopher,

The Ribbon API doesn't provide a way to achieve this. You can set up a hook (google for Windows hook) and when the WM_MOUSEMOVE message is received, use UI Automation to get the control below the mouse cursor.


Andrei Smolin
Add-in Express Team Leader
Posted 23 Aug, 2017 07:53:20 Top