Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Missing accel key info in tooltip
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Missing accel key info in tooltip

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Missing accel key info in tooltip
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.