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

Example "Gallery"

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


Joined: 05 July 2013
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Didi Quote  Post ReplyReply Direct Link To This Post Topic: Example "Gallery"
    Posted: 22 October 2013 at 11:21am
Hi,
in your example "CommandBars\GallerySample" is a CXTPToolbar "Styles".
This Bar is created  "magically" bei LoadToolBar(IDR_TOOLVAR_STYLES), using a .png file.

I have two questions:
1) Which wonderful, magic things happen while this command "LoadToolBar". Exists an editor for this .png file?

2) This Bar has an button, to expand  its content. How can I create that button for dynamically created Toolbars? It isn't ShowExpandButton(), that is only for the triangle: "add or remove button"
Thank you very much,
Didi



Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2013 at 9:47am
That button is part of the CommandBarGalleryItems control. See the Ribbon Sample -> frmMain.CreateShapesGallery for example.
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



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