本文整理汇总了C++中CAknMessageQueryDialog::SetExtentToWholeScreen方法的典型用法代码示例。如果您正苦于以下问题:C++ CAknMessageQueryDialog::SetExtentToWholeScreen方法的具体用法?C++ CAknMessageQueryDialog::SetExtentToWholeScreen怎么用?C++ CAknMessageQueryDialog::SetExtentToWholeScreen使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAknMessageQueryDialog
的用法示例。
在下文中一共展示了CAknMessageQueryDialog::SetExtentToWholeScreen方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: HandleCommandL
//.........这里部分代码省略.........
{
if (iBrCtlInterface)
{
iBrCtlInterface->HandleCommandL(iCommandBase + TBrCtlDefs::ECommandForward);
}
break;
}
case ECmdAppHome:
{
if (iBrCtlInterface)
{
iBrCtlInterface->LoadUrlL(iStartPage);
}
break;
}
case EOptions:
{
if (iBrCtlInterface)
{
iBrCtlInterface->LoadUrlL(iOptionsPage);
//iBrCtlInterface->ClearCache();
}
break;
}
case ECmdTakePicture:
{
iRhoCamera->StopViewFinder();
iRhoCamera->StartViewFinderL();
break;
}
case ECmdChoosePicture:
{
ChoosePicture();
break;
}
case ELoggingOptions:
{
iBrCtlInterface->SetDimmed( ETrue);
iBrCtlInterface->MakeVisible( EFalse );
iBrCtlInterface->DrawNow();
CLogOptionsDialog::RunDlgLD();
iBrCtlInterface->SetDimmed( EFalse );
iBrCtlInterface->MakeVisible( ETrue );
iBrCtlInterface->DrawNow();
break;
}
case ELogView:
{
rho::String strText;
LOGCONF().getLogText(strText);
TPtrC8 ptr8((TUint8*)strText.c_str());
HBufC *msg = HBufC::NewLC(ptr8.Length());
msg->Des().Copy(ptr8);
CAknMessageQueryDialog* dlg = CAknMessageQueryDialog::NewL(*msg);
dlg->PrepareLC(R_STAT_QUERY_DIALOG);
HBufC* title = iEikonEnv->AllocReadResourceLC(R_LOG_VIEW_DIALOG_TITLE);
dlg->QueryHeading()->SetTextL(*title);
CleanupStack::PopAndDestroy(); //title
dlg->SetExtentToWholeScreen();
dlg->RunLD();
CleanupStack::PopAndDestroy(msg);
break;
}
/*case EAknSoftkeyCancel:
{
CEikButtonGroupContainer* current = CEikButtonGroupContainer::Current();
if ( current )
{
current->SetCommandSetL( R_AVKON_SOFTKEYS_OPTIONS_BACK );
current->SetFocus(EFalse, EDrawNow);
}
break;
}*/
default:
if (aCommand >= iCommandBase &&
aCommand < iCommandBase + TBrCtlDefs::ECommandIdWMLBase &&
iBrCtlInterface)
{
iBrCtlInterface->HandleCommandL(aCommand);
}
if (aCommand >= iCommandBase + TBrCtlDefs::ECommandIdWMLBase &&
aCommand < iCommandBase + TBrCtlDefs::ECommandIdRange &&
iBrCtlInterface)
{
iBrCtlInterface->HandleCommandL(aCommand);
}
break;
}
}