Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to show Ribbon bar Context tabs when using mfc
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to show Ribbon bar Context tabs when using mfc

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


Joined: 16 October 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottp Quote  Post ReplyReply Direct Link To This Post Topic: How to show Ribbon bar Context tabs when using mfc
    Posted: 06 July 2017 at 7:56am
Hi,

I am building a ribbon using the mfcribbon-ms resource to be used with a MDI. The ribbon has a context category with one category tab.

I can't seem to find any way to easily activate the context category from a CView activation. There are no samples that show the context categories from created from a mfc ribbon resource.

Note that the mfc ribbon resource lets you specify an ID for the context, but not for the categories and the XTP API CXTPRibbonControlTab::FindTab requires an ID that can't be specified. the CMFCRibbon class has a ShowContextCategories

Any help appreciated.

Scott.

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