当前位置: 首页>>代码示例>>C++>>正文


C++ CEikButtonGroupContainer::MakeVisible方法代码示例

本文整理汇总了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]
	
	}
开发者ID:bohwaz,项目名称:s60voip,代码行数:38,代码来源:symbian_ua_guiSettingItemListView.cpp

示例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]

}
开发者ID:max3903,项目名称:SFLphone,代码行数:32,代码来源:symbian_ua_guiSettingItemListView.cpp

示例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]
	
	}
开发者ID:bohwaz,项目名称:s60voip,代码行数:23,代码来源:symbian_ua_guiSettingItemListView.cpp


注:本文中的CEikButtonGroupContainer::MakeVisible方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。