![]() |
Tooltips on Gallery items |
Post Reply
|
| Author | |
PeterP
Newbie
Joined: 18 September 2005 Location: Australia Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: Tooltips on Gallery itemsPosted: 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?
|
|
![]() |
|
PeterP
Newbie
Joined: 18 September 2005 Location: Australia Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
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);
|
|
![]() |
|
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 |