Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to Find Sub Item In Ribbon Pannel in Bricscad 17 C++

Dear Friends,

I am trying to get Ribbon Button From Ribbon Panel .
But I cant get the Ribbon Button of the Ribbon Panel.
please see the code below.
AcRibbonPanelSource* pPanelSource = pPanel->source();
AcString strId;
if (strId.compareNoCase("rpChapoo") == 0)
const ACHAR* itemId = _T("chapooopen");
AcRibbonItem* pRibbonItem = pPanel->findItem(itemId, true);
AcRibbonItem* pItem = pPanelSource->findItem(itemId,true);

findItem() always returns NULL.This is the problem.

please note that i am using Default.cui of Bricscad 17.

please give your suggestion to Solve this problem.

Thank you Friends,

This discussion has been closed.
Origami is the Japanese word for paper folding. ORI means to fold and KAMI means paper and involves the creation of paper forms usually entirely by folding.

Powered by VanillaForums, Designed by Steam