Missing accel key info in tooltip |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 21 February 2012 at 11:17am |
In CXTPCommandBar::OnToolHitTest the code checks to see if tool bar accel tips is turned on. It is. But a few lines later the code calls pControl->OnToolHitTest. If the control is a gallery, the gallery can return a hit. At that point the code returns the hit.
If there is no hit on the control call, the CXTPCommandBar code checks the accel tip flag and adds the text for any accelerator assigned to the control. The result is that the user sees a tooltip with accel info added to it. That's great.
However CXTPControlGallery::OnToolHitTest does not even bother to try and add accel info to the tooltip. The result is that tooltips that show up for gallery items never have the accel info added.
Why isn't CXTPControlGallery adding the accelerator info to the tooltip too?
Looks like a bug to me.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |