本文整理汇总了C++中CEikButtonGroupContainer::MakeVisible方法的典型用法代码示例。如果您正苦于以下问题:C++ CEikButtonGroupContainer::MakeVisible方法的具体用法?C++ CEikButtonGroupContainer::MakeVisible怎么用?C++ CEikButtonGroupContainer::MakeVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CEikButtonGroupContainer
的用法示例。
在下文中一共展示了CEikButtonGroupContainer::MakeVisible方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DoActivateL
/**
* Handles user actions during activation of the view,
* such as initializing the content.
*/
void Csymbian_ua_guiSettingItemListView::DoActivateL(
const TVwsViewId& aPrevViewId,
TUid /*aCustomMessageId*/,
const TDesC8& /*aCustomMessage*/ )
{
previousView = aPrevViewId.iViewUid;
SetupStatusPaneL();
CEikButtonGroupContainer* cba = AppUi()->Cba();
if ( cba != NULL )
{
cba->MakeVisible( EFalse );
}
if ( iSymbian_ua_guiSettingItemList == NULL )
{
iSettings = TSymbian_ua_guiSettingItemListSettings::NewL();
CVoIPDocument* doc = static_cast<CVoIPDocument*>(CEikonEnv::Static()->EikAppUi()->Document());
doc->LoadSettingValuesL(*iSettings);
iSymbian_ua_guiSettingItemList = new ( ELeave ) CSymbian_ua_guiSettingItemList( *iSettings, this );
iSymbian_ua_guiSettingItemList->SetMopParent( this );
iSymbian_ua_guiSettingItemList->ConstructFromResourceL( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_SYMBIAN_UA_GUI_SETTING_ITEM_LIST );
iSymbian_ua_guiSettingItemList->ActivateL();
//iSymbian_ua_guiSettingItemList->LoadSettingValuesL();
iSymbian_ua_guiSettingItemList->LoadSettingsL();
AppUi()->AddToStackL( *this, iSymbian_ua_guiSettingItemList );
}
// ]]] end generated region [Generated Contents]
}
示例2: DoActivateL
/**
* Handles user actions during activation of the view,
* such as initializing the content.
*/
void Csymbian_ua_guiSettingItemListView::DoActivateL (
const TVwsViewId& /*aPrevViewId*/,
TUid /*aCustomMessageId*/,
const TDesC8& /*aCustomMessage*/)
{
// [[[ begin generated region: do not modify [Generated Contents]
SetupStatusPaneL();
CEikButtonGroupContainer* cba = AppUi()->Cba();
if (cba != NULL) {
cba->MakeVisible (EFalse);
}
if (iSymbian_ua_guiSettingItemList == NULL) {
iSettings = TSymbian_ua_guiSettingItemListSettings::NewL();
iSymbian_ua_guiSettingItemList = new (ELeave) CSymbian_ua_guiSettingItemList (*iSettings, this);
iSymbian_ua_guiSettingItemList->SetMopParent (this);
iSymbian_ua_guiSettingItemList->ConstructFromResourceL (R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_SYMBIAN_UA_GUI_SETTING_ITEM_LIST);
iSymbian_ua_guiSettingItemList->ActivateL();
iSymbian_ua_guiSettingItemList->LoadSettingValuesL();
iSymbian_ua_guiSettingItemList->LoadSettingsL();
AppUi()->AddToStackL (*this, iSymbian_ua_guiSettingItemList);
}
// ]]] end generated region [Generated Contents]
}
示例3: DoDeactivate
void Csymbian_ua_guiSettingItemListView::DoDeactivate()
{
// [[[ begin generated region: do not modify [Generated Contents]
CleanupStatusPane();
CEikButtonGroupContainer* cba = AppUi()->Cba();
if ( cba != NULL )
{
cba->MakeVisible( ETrue );
cba->DrawDeferred();
}
if ( iSymbian_ua_guiSettingItemList != NULL )
{
AppUi()->RemoveFromStack( iSymbian_ua_guiSettingItemList );
delete iSymbian_ua_guiSettingItemList;
iSymbian_ua_guiSettingItemList = NULL;
delete iSettings;
iSettings = NULL;
}
// ]]] end generated region [Generated Contents]
}