Print Page | Close Window

Missing accel key info in tooltip

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=19511
Printed Date: 17 November 2024 at 2:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Missing accel key info in tooltip
Posted By: rdhd
Subject: Missing accel key info in tooltip
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net