Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to show CXTPControlGalleryItem caption?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to show CXTPControlGalleryItem caption?

 Post Reply Post Reply
Author
Message
wssdev View Drop Down
Groupie
Groupie


Joined: 04 May 2010
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote wssdev Quote  Post ReplyReply Direct Link To This Post Topic: How to show CXTPControlGalleryItem caption?
    Posted: 13 October 2010 at 10:44am
[XTP 13.40, VS2008]

I'm trying to tweak the RibbonControls sample so that the items in the Styles inline gallery show both an image and a caption (some text below the image).

To that end, I tried to add individual items using CXTPControlGalleryItems::AddItem(LPCTSTR lpszCaption, int nId, int nImage) overload, i.e.

m_pItemsStyles->AddItem("My Item Caption", nStyle, nStyle);

but the gallery still shows only images for each item.

Is it possible at all to have an inline gallery with items where each item has both caption and an image always visible? If yes, how?

Thanks in advance!

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.141 seconds.