It looks like you're new here. If you want to get involved, click one of these buttons!
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();
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,