Print Page | Close Window

Tooltips on Gallery items

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=16859
Printed Date: 29 November 2024 at 1:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltips on Gallery items
Posted By: PeterP
Subject: Tooltips on Gallery items
Date Posted: 21 June 2010 at 8:31am
I've implemented a Ribbon containing some Galleries.
 
When the mouse hovers over button items, I get the ribbon style tooltip with caption and description (and keyboard shortcut if one assigned).
 
However, when the mouse hovers over Gallery items, I only get a simple text tooltip containing the text set by CXTPGalleryControlItem::SetTooltip(..).
 
Is there any way to implement ribbon style tooltips for Gallery items?  I'd like the Gallery tooltips to contain caption, description and graphic if possible.  Any hints or examples?
 



Replies:
Posted By: PeterP
Date Posted: 21 June 2010 at 11:46pm
I dug a bit further and answered my own question.
 
The ribbon style tooltips appear when a description is specified using CXTPGalleryControlItem::SetDesciption.  To get the graphic on the tooltip, pToolTipContext->ShowImage(TRUE);
 



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