Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Tooltips on Gallery items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltips on Gallery items

 Post Reply Post Reply
Author
Message
PeterP View Drop Down
Newbie
Newbie


Joined: 18 September 2005
Location: Australia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterP Quote  Post ReplyReply Direct Link To This Post Topic: Tooltips on Gallery items
    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?
 
Back to Top
PeterP View Drop Down
Newbie
Newbie


Joined: 18 September 2005
Location: Australia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterP Quote  Post ReplyReply Direct Link To This Post 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);
 
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.219 seconds.