//************************************************************************************* void CBCGPRibbonButtonsGroup::GetVisibleElements ( CArray<CBCGPBaseRibbonElement*, CBCGPBaseRibbonElement*>& arElements) { ASSERT_VALID (this); for (int i = 0; i < m_arButtons.GetSize (); i++) { CBCGPBaseRibbonElement* pButton = m_arButtons [i]; ASSERT_VALID (pButton); pButton->GetVisibleElements (arElements); } }