您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ ActivateL函数代码示例

51自学网 2021-06-01 19:40:24
  C++
这篇教程C++ ActivateL函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中ActivateL函数的典型用法代码示例。如果您正苦于以下问题:C++ ActivateL函数的具体用法?C++ ActivateL怎么用?C++ ActivateL使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了ActivateL函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: CreateWindowL

void CTcContainer::ConstructL( const TRect& aRect ){    // Create a window for this application view    CreateWindowL();#ifdef __SERIES90_    // Set skin configuration    CCknSkinBase& skin = CknEnv().Skin();    skin.SetAppViewType( ESkinAppViewNoCbaNoToolband );#endif    CreateLabelsL( aRect );    // Set windows size and activate it    SetRect( aRect );    ActivateL();}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:17,


示例2: CreateWindowL

void CMainMenuGridContainer::ConstructL(const TRect& aRect,                                         CMainMenuGridView* aView,                                         const TInt* aMbmImageIds,                                        const TInt* aMbmMaskIds,                                        const TInt* aMainMenuCommandIds){   CreateWindowL();   iView = aView;   iMbmImageIds = aMbmImageIds;   iMbmMaskIds = aMbmMaskIds;   iMainMenuCommandIds = aMainMenuCommandIds;   //Activate view   SetRect(aRect);   ActivateL();}
开发者ID:VLjs,项目名称:Wayfinder-S60-Navigator,代码行数:17,


示例3: CreateWindowL

void CTestContainer::ConstructL()	{	iColor = KRgbBlack;	CreateWindowL();	RWindow window = Window();	window.SetTransparencyAlphaChannel();	window.SetBackgroundColor(TRgb(150,150,150,150));	iAnimationsArray=new(ELeave) CArrayPtrFlat<CAnimation>(KArrayGranularity);		//Set the background of the container window to the default. 	iBackgroundType = EBackgroundBlackRedGreenYellowStripes;	ActivateL();	//Construct a window that can be used in test cases.	iCoveringWindowControl = new (ELeave) CTestWindowControl;		iCoveringWindowControl->ConstructL();	}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:17,


示例4: CALLSTACKITEM_N

// ---------------------------------------------------------// CContextContactsContainer2::ConstructL(const TRect& aRect)// EPOC two phased constructor// ---------------------------------------------------------//void CContextContactsContainer2::ConstructL(const TRect& aRect){	CALLSTACKITEM_N(_CL("CContextContactsContainer2"), _CL("ConstructL"));	CreateWindowL();		iLabel = new (ELeave) CEikLabel;	iLabel->SetContainerWindowL( *this );	iLabel->SetTextL( _L("Group View") );		iToDoLabel = new (ELeave) CEikLabel;	iToDoLabel->SetContainerWindowL( *this );	iToDoLabel->SetTextL( _L("Feature not available") );		SetRect(aRect);	ActivateL();}
开发者ID:flaithbheartaigh,项目名称:jaikuengine-mobile-client,代码行数:22,


示例5: new

// member functionsvoid CSplashContainer::ConstructL(const TRect &aRect){  iBitmap = new(ELeave)CFbsBitmap();  CreateWindowL();  SetRect(aRect);  SetExtentToWholeScreen();  TFileName bitmapFile(KDrawBitmapPath);  User::LeaveIfError(CompleteWithAppPath(bitmapFile));  iLogoBitmap = new(ELeave)CFbsBitmap();  User::LeaveIfError(iLogoBitmap->Load(bitmapFile, EMbmMauruSplash));  ActivateL();}
开发者ID:Tumunu,项目名称:Mauru,代码行数:18,


示例6: CreateWindowL

void CTstControl::ConstructL()	{	RWsSession& windowServerSession=iCoeEnv->WsSession();	windowServerSession.SetAutoFlush(ETrue);	CreateWindowL();	EnableDragEvents();	ClaimPointerGrab();	RDrawableWindow& window=*DrawableWindow();	window.SetOrdinalPosition(0);	window.SetShadowHeight(3);	CWsScreenDevice& screenDevice=*iCoeEnv->ScreenDevice();	const TSize screenSize(screenDevice.SizeInPixels());	SetExtent(TPoint(20, 20), TSize(screenSize.iWidth-40, screenSize.iHeight-40));	iEikonEnv->AddDialogLikeControlToStackL(this);	iAppServer=CTstAppServer::NewL();	ActivateL();	}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:17,


示例7: CreateWindowL

/*----------------------------------------------------------------------------------------------------------------------------------------------------------*/void CYuccaSettings::ConstructL(TBool aReadOnly,TBool aHidden,TBool aSystem,TTime aTime){    CreateWindowL();		iFileDate 	= aTime;	iReadOnly	= aReadOnly;	iHidden		= aHidden;	iSystem		= aSystem;	iAttr 		= ETrue;		SetRect(CEikonEnv::Static()->EikAppUi()->ClientRect());		CreateListBoxL(iSettings);	ActivateL();	DrawNow();}
开发者ID:DrJukka,项目名称:Symbian_Codes,代码行数:21,


示例8: CreateWindowL

void CSearchableListBoxContainer::ConstructL( const TRect& aRect,                                               MEikCommandObserver* aCommandObserver ){    CreateWindowL();   iFocusControl = NULL;   iCommandObserver = aCommandObserver;   InitializeControlsL();   iListBox->ItemDrawer()->ColumnData()->SetMarqueeParams(5, 6, 1000000, 200000);   iListBox->ItemDrawer()->ColumnData()->EnableMarqueeL(ETrue);   iListBox->CreateScrollBarFrameL(ETrue);   iListBox->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOn,                                                       CEikScrollBarFrame::EAuto);	   SetRect( aRect );   ActivateL();}
开发者ID:VLjs,项目名称:Wayfinder-S60-Navigator,代码行数:17,


示例9: CreateWindowL

// -----------------------------------------------------------------------------// CSupSplashScreenView::ConstructL()// Symbian 2nd phase constructor can leave.// -----------------------------------------------------------------------------//void CSupSplashScreenView::ConstructL( const TRect& aRect ){	// Create a window for this application view	CreateWindowL();		// Creating splash screen control	iSplashScreen = CSupSplashScreen::NewL();	iSplashScreen->SetContainerWindowL(*this);	iSplashScreen->ActivateL();	// Set the windows size	SetRect( aRect );	// Activate the window, which makes it ready to be drawn	ActivateL();}
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:22,


示例10: CreateWindowL

// CMainWinControl needs a ConstructL(), because it is a compound control// (and a window-owning control).void CMainWinControl::ConstructL(const TRect& rect)	{	// Make this a window-owning control.	CreateWindowL();	SetRect(rect);	// Create its only component, a CSmileyContainer	iContainer = new (ELeave) CSmileyContainer;	iContainer->SetContainerWindowL(*this);	TRect containerRect = Rect();	containerRect.Shrink(10, 10);	iContainer->ConstructL(containerRect);	// Activate the main window control - this will also activate the 	// CSmileyContainer and its components.	ActivateL();	DrawNow();	}
开发者ID:huellif,项目名称:symbian-example,代码行数:19,


示例11: CreateWindowL

// ---------------------------------------------------------// CFepSetupContainer::ConstructL(const TRect& aRect)// EPOC two phased constructor// ---------------------------------------------------------//void CFepSetupContainer::ConstructL(const TRect& aRect)    {    CreateWindowL();    iLabel = new (ELeave) CEikLabel;    iLabel->SetContainerWindowL( *this );    iLabel->SetTextL( KSelectOptions );	iFepSetting = CFepGenericGlobalSettings::NewL(*iEikonEnv,					TFepOnOrOffKeyData(EKeyEnter, EModifierFunc|EModifierShift, EModifierFunc),					TFepOnOrOffKeyData(EKeyEnter, EModifierFunc|EModifierShift, EModifierShift),					EFalse);#ifndef __SERIES60_3X__ // Series60 1.x/2.x API	iFileNamesOfAvailableFeps = iEikonEnv->FileNamesOfAvailableFepsL();	// Get the number of all Feps available in the system	const TInt numberOfAvailableFeps = iFileNamesOfAvailableFeps->MdcaCount();	// Get the name, including the path, of all the Feps in the system	iNamesOfAvailableFeps = new(ELeave) CDesCArrayFlat(numberOfAvailableFeps+1);	for(TInt i=0; i<numberOfAvailableFeps; i++)		{		// Get name of fep excluding path		iNamesOfAvailableFeps->AppendL(TParsePtrC(iFileNamesOfAvailableFeps->MdcaPoint(i)).Name());		}#else // Series60 3.x API	// Get available Fep Uids	iEikonEnv->AvailableFepsL( iFepUids, NULL );	iNamesOfAvailableFeps = new(ELeave) CDesCArrayFlat( iFepUids.Count() + 1 );	// Get Fep names also	iEikonEnv->AvailableFepsL( iFepUids, iNamesOfAvailableFeps );	for (int i = 0; i < iFepUids.Count(); ++i) {	  TBuf<50> buf;	  buf.AppendNum(iFepUids[i].iUid, EHex);	  buf.Append(' ');	  buf.Append(iNamesOfAvailableFeps->MdcaPoint(i));	  RDebug::Print(buf);	}#endif    SetRect(aRect);    ActivateL();    }
开发者ID:mikaraento,项目名称:tts,代码行数:51,


示例12: CreateWindowL

/*-------------------------------------------------------------------------This will be called when this file shandler is preraped to be used for, opening or constructing a file. The open/new etc. functions are calledstrait after calling this function.-------------------------------------------------------------------------*/void CYBrowserFileHandler1::ConstructL(){ 	CreateWindowL(); 	 	TFindFile AppFile(CCoeEnv::Static()->FsSession());	if(KErrNone == AppFile.FindByDir(KMyResourceFileName, KNullDesC))	{ 		TFileName resourceName(AppFile.File());		BaflUtils::NearestLanguageFile(CEikonEnv::Static()->FsSession(), resourceName);		iResId = CEikonEnv::Static()->AddResourceFileL(resourceName);	}		SetRect(CEikonEnv::Static()->EikAppUi()->ClientRect()); 		 	ActivateL();	SetMenuL();}
开发者ID:DrJukka,项目名称:Symbian_Codes,代码行数:24,


示例13: CreateWindowL

/*----------------------------------------------------------------------------------------------------------------------------------------------------------*/void CMainContainer::ConstructL(){	CreateWindowL();		iEcomHandler = CEcomHandler::NewL(this);	iTimeOutTimer = CTimeOutTimer::NewL(CActive::EPriorityStandard,*this);		GetSettingsL();		SetRect(CEikonEnv::Static()->EikAppUi()->ClientRect());	ActivateL();	SetMenuL();	DrawNow();}
开发者ID:DrJukka,项目名称:Symbian_Codes,代码行数:21,


示例14: CreateWindowL

/**  Second phase constructor for CLayoutTestAppView class./n  Creates a control's window. The created window is the child of the application's window group./n  Sets the view's extent i.e dimenstions./n  Instantiates Component controls each of CTest5Control class./n  Each component control is appended to a control array./n  The AppView object is added as the container control for all the component controls./n  The Appview is activated./n*/void CLayoutTestAppView::ConstructL(CLayoutTest* aLayoutMan, const TRect& aRect)    {	CreateWindowL();	SetRect(aRect);	TRect ctrlRect(10, 10, 20, 20);	for (TInt ctrlCount = 0; ctrlCount < KNumControls; ctrlCount++)		{		CTest5Control* testCtrl = CTest5Control::NewL(aLayoutMan, *this, ctrlRect);		iCtrlArray.Append(testCtrl);		testCtrl->SetContainerWindowL(*this);		TPoint offset(20, 0);		ctrlRect.iTl += offset;		ctrlRect.iBr += offset;		}		ActivateL();	TRect rect(TPoint(0,0), aRect.iBr - TPoint(1,1)); 	SetRect(rect);	}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:27,


示例15: CreateWindowL

void CVoIPListBox::ConstructL(const TRect& aRect, const CCoeControl* aParent,        MEikCommandObserver* aCommandObserver)    {    CEikonEnv::Static()->ReadResource(KUnnamedStr, R_UNNAMED);    if (aParent == NULL)        {        CreateWindowL();        }    else        {        SetContainerWindowL(*aParent);        }    iCommandObserver = aCommandObserver;    InitializeControlsL();    SetRect(aRect);    ActivateL();    }
开发者ID:bohwaz,项目名称:s60voip,代码行数:18,


示例16: CreateWindowL

void CZXingBarcodeReaderAppView::ConstructL (const TRect& aRect )	{	// Create a window for this application view	CreateWindowL ();	iTitleFont = AknLayoutUtils::FontFromId(EAknLogicalFontPrimarySmallFont);	iAppUi = static_cast<CZXingBarcodeReaderAppUi*>(iEikonEnv->EikAppUi());	// Set the windows size	SetRect (aRect );	//Start decoder timer.	StartTimer();		// Activate the window, which makes it ready to be drawn	ActivateL ();	}
开发者ID:Android9001,项目名称:zxing,代码行数:18,


示例17: CreateWindowL

// ----------------------------------------------------// CNormalSettingContainer::ConstructL()// Symbian OS default constructor can leave.// ----------------------------------------------------//void CNormalSettingContainer::ConstructL(const TRect& aRect)    {    // Create a window for this application view    CreateWindowL();    TBuf<8> value;        value.FillZ();    iConfig = CConfiguration::NewL(KConfigFile);	if (iConfig->Get(KCfgAttFrequency,value))		{		iEnumText = CCommonUtils::StrToInt(value);		iOldEnumText = iEnumText;		}	else		iOldEnumText = -1;		value.FillZ();	if (iConfig->Get(KCfgAttAutoStart,value))		{		iBinary = CCommonUtils::StrToInt(value);		iOldBinary = iBinary;		}	else		iOldBinary = -1;        iItemList = new (ELeave) CAknSettingItemList;    iItemList->SetMopParent(this);    iItemList->ConstructFromResourceL(R_ENTRY_SETTINGS_LIST);    LoadListL();    iItemList->MakeVisible(ETrue);    iItemList->SetRect(aRect);    iItemList->ActivateL();    iItemList->ListBox()->UpdateScrollBarsL();    iItemList->DrawNow();    // Set the windows size    SetRect(aRect);    // Activate the window, which makes it ready to be drawn    ActivateL();    }
开发者ID:flaithbheartaigh,项目名称:lemonplayer,代码行数:49,


示例18: CreateWindowL

void CTestRectBackground::ConstructL()    {    CreateWindowL();    	CTestRectGc::ConstructL(TPoint(20,20),TSize(600,200), KRgbBlack, KRgbYellow, CGraphicsContext::ESolidBrush);	InitComponentArrayL();	//Create a default control    CreateComponentControlL(2, 7);    		//Control to display the offscreen bitmap    iControlImage = new (ELeave) CTestRectImageGc();    iControlImage->CreateWindowL(this);    iControlImage->DrawableWindow()->SetRequiredDisplayMode(EColor16MA);     iControlImage->ConstructL(TPoint(200,36),TSize(128,128), KRgbRed, KRgbGreen, CGraphicsContext::ESolidBrush);     iControlImage->ActivateL();	//Second control to display blended overlay    iControlImage2 = new (ELeave) CTestRectImageGc();    iControlImage2->CreateWindowL(this);     iControlImage2->DrawableWindow()->SetRequiredDisplayMode(EColor16MA);     iControlImage2->ConstructL(TPoint(400,36),TSize(128,128), KRgbRed, KRgbGreen, CGraphicsContext::ESolidBrush);     iControlImage2->ActivateL();	//Create an offscreen bitmap         iOffScreen = COffScreenBitmapGc::NewL(TSize(128,128));			//Create a second offscreen bitmap         iOffScreen2 = COffScreenBitmapGc::NewL(TSize(128,128));			//Set up the control images to display the two offscreen maps	iControlImage->SetBitmap(iOffScreen->GetBitmap());		iControlImage2->SetBitmap(iOffScreen2->GetBitmap());	        iBmpBackground = new (ELeave) CFbsBitmap();    User::LeaveIfError(iBmpBackground->Load(_L("z://conetest//city.mbm")));	//Set up the Gc origin so that the offscreen bitmaps can be tiled in the same way as the screen drawn control	TPoint ControlPos = iControl->PositionRelativeToScreen();	iOffScreen->OffScreenGc()->SetWindowOrigin(ControlPos);	iOffScreen2->OffScreenGc()->SetWindowOrigin(ControlPos);	    ActivateL();        }
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:44,


示例19: CreateWindowL

void CUnRegisterContainer::ConstructL(const TRect& aRect)    {    CreateWindowL();    iLabel = new (ELeave) CEikLabel;    iLabel->SetContainerWindowL( *this );	iLabel->SetFont(iEikonEnv->LegendFont());    iLabel->SetTextL(*(iEikonEnv->AllocReadResourceL(R_PURPLEACE_WEB)));	CEikStatusPane* statusPane=iEikonEnv->AppUiFactory()->StatusPane();	TBuf<10> message;	message.Copy(_L(""));	CAknNavigationControlContainer* aNaviPane = (CAknNavigationControlContainer *)statusPane->ControlL(TUid::Uid(EEikStatusPaneUidNavi));	CAknNavigationDecorator* aNaviDecorator = aNaviPane->CreateMessageLabelL(message);    aNaviPane->PushL(*aNaviDecorator);	CAknContextPane* cp=(CAknContextPane *)statusPane->ControlL(TUid::Uid(EEikStatusPaneUidContext));	TBuf<128> path;	path = CRippleVaultAppUi::ApplicationDriveAndPath();	path.Append(KRippleImageMbmFileName);	CFbsBitmap* bitmap = iEikonEnv->CreateBitmapL(path, EMbmRippleimageRippleimage);	CleanupStack::PushL(bitmap);	CFbsBitmap* bitmapmask = iEikonEnv->CreateBitmapL(path, EMbmRippleimageRippleimagem);	CleanupStack::PushL(bitmapmask);	cp->SetPicture(bitmap, bitmapmask);	CleanupStack::Pop(); // bitmapmask	CleanupStack::Pop(); // bitmap	DrawNow();	CAknTitlePane* tp=(CAknTitlePane*)statusPane->ControlL(TUid::Uid(EEikStatusPaneUidTitle));     tp->SetTextL(*(iEikonEnv->AllocReadResourceL(R_EXAMPLE_RIPPLE_PUBLISH))); // Set the text string.	TRect Please(TPoint(0,44),TPoint(176,188));    SetRect(Please);    //SetRect(aRect);    ActivateL();    }
开发者ID:deepakprabhakara,项目名称:ripplevault,代码行数:43,


示例20: SetContainerWindowL

void CFontSizeTestControl::ConstructL(const CCoeControl* aParent)    {    User::LeaveIfError(iSemaphore.OpenGlobal(KSemaphore));        iBidiText = TBidiText::NewL(KFullScreenSampleText, EMaximumTextLines, TBidiText::ELeftToRight);    if (aParent)        {        SetContainerWindowL(*aParent);        }    else        {        CreateWindowL();                }    SetRect(TRect(TPoint(0,0), CTWindow::GetDisplaySizeInPixels()));    if (!aParent)        {        ActivateL();        }    }
开发者ID:cdaffara,项目名称:symbiandump-os1,代码行数:19,


示例21: CreateWindowL

// ---------------------------------------------------------// CContextNoteContainer::ConstructL(const TRect& aRect)// EPOC two phased constructor// ---------------------------------------------------------//void CContextNoteContainer::ConstructL(const TRect& aRect){	CreateWindowL();		iEdit=new (ELeave) CEikEdwin;	iEdit->SetContainerWindowL( *this );	iEdit->ConstructL();	iEdit->AddEdwinObserverL(this);	TRect r(aRect);	r.Move(4, 4);	r.Resize(-8, -8);	iEdit->SetRect(r);	iEdit->ActivateL();	iEdit->SetFocus(ETrue);		SetRect(aRect);	ActivateL();}
开发者ID:flaithbheartaigh,项目名称:jaikuengine-mobile-client,代码行数:24,


示例22: CreateWindowL

/*----------------------------------------------------------------------------------------------------------------------------------------------*/void CMailBoxContainer::ConstructL(const TRect& aRect){    CreateWindowL();        iUtils.GetFileUtils().GetCurrentPath(iCurrPath);        iBgContext = CAknsBasicBackgroundControlContext::NewL(KAknsIIDQsnBgAreaMain,TRect(0,0,aRect.Width(),aRect.Height()), ETrue);	iBgContext->SetParentPos(aRect.iTl);	    SetRect(aRect);      	ActivateL();		SetMenuL();		CEikStatusPane*		sp = ((CAknAppUi*)iEikonEnv->EikAppUi())->StatusPane();	if(sp)	{				if(sp->CurrentLayoutResId() != R_AVKON_STATUS_PANE_LAYOUT_USUAL)//R_AVKON_STATUS_PANE_LAYOUT_SMALL_WITH_SIGNAL_PANE)		{			sp->SwitchLayoutL(R_AVKON_STATUS_PANE_LAYOUT_USUAL);		}	}		iSession = CMsvSession::OpenSyncL(*this);		iCurrentFolder = 0;    GetFoldersL();    MakeNavipanelL();    	if(iFolderArray.Count() <= iCurrentFolder)	{		iCurrentFolder = 0;	}		if(iCurrentFolder < iFolderArray.Count())	{		if(iFolderArray[iCurrentFolder])		{			ReadMailFolderL(iFolderArray[iCurrentFolder]->iMscId);		}	}}
开发者ID:DrJukka,项目名称:Symbian_Codes,代码行数:47,


示例23: CreateWindowL

void CPausedContainer::ConstructL(const TRect& aRect){    CreateWindowL();    SetBlank();    SetRect(aRect);    //初始化BitMap变量    iBackupBitmap = new (ELeave) CWsBitmap(iCoeEnv->WsSession());    iBackupBitmap->Create(Rect().Size(), EColor16M);    iBitmapDevice = CFbsBitmapDevice::NewL(iBackupBitmap);    User::LeaveIfError(iBitmapDevice->CreateContext(iBitmapGc));    //初始化心跳包    iGfxTimer = new (ELeave) CGfxTimer(*this, NULL);    iGfxTimer->ConstructL();    iGfxTimer->StartPulse(KONE_SECOND_IN_MICRO_SECONDS / KFRAMES_PER_SECOND);    iIsFlagDelete = EFalse;    TRAPD(err2, iBackGroundSheep= iEikonEnv->CreateBitmapL(_L("//resource//apps//RS_Man.mbm"),EMbmRs_manSheepbg));    ActivateL();}
开发者ID:jinhuafeng,项目名称:RS-MAN,代码行数:19,


示例24: CreateWindowL

void CContainer3::ConstructL(const TRect& /* aRect */){	CreateWindowL();	// Construct the CSendAppUi object	iSendAppUi = CSendAppUi::NewL(ECmdBaseId);	iSendAppUiCapabilities.iFlags = TSendingCapabilities::ESupportsBodyText;	// Construct the CRichText object	iRichText = CRichText::NewL(iEikonEnv->SystemParaFormatLayerL(),		iEikonEnv->SystemCharFormatLayerL()); 	iFocus = 0;	// sets full screen	SetRect( TRect( 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT ) );	ActivateL();	InitiateDraw();}
开发者ID:Tumunu,项目名称:Mp,代码行数:19,


示例25: SetContainerWindowL

// ---------------------------------------------------------------------------// Symbian 2nd phase constructor can leave.// ---------------------------------------------------------------------------//void CTactileExampleSquare::ConstructL(    const TRect& aRect, const CCoeControl* aParent )    {    // Get a pointer to touch feedback instance    iFeedback = MTouchFeedback::Instance();    User::LeaveIfNull( iFeedback );    SetContainerWindowL( *aParent );    SetRect( aRect );        // Set hit tester to be object itself    SetHitTest( this );    // Set feedback area for this control    iFeedback->SetFeedbackArea( this, 0, Rect(),        ETouchFeedbackBasic, ETouchEventStylusDown );    ActivateL();    }
开发者ID:fedor4ever,项目名称:packaging,代码行数:23,


示例26: CreateWindowL

void CEdwinTestControl::ConstructL()    {    CreateWindowL();     iEditWin = new (ELeave) CEikEdwin();    iEditWin->ConstructL( 0, 100, 100, 1 );    iEditWin->SetContainerWindowL( *this );    iEditWin->CreateTextViewL();//    iEditWin->SetInputCapabilitiesL( TCoeInputCapabilities::EAllText );    	// make first with no size at all	iBgContext = CAknsBasicBackgroundControlContext::NewL(KAknsIIDQsnBgScreen,TRect(0,0,1,1), ETrue );	// Setting rect will cause SizeChanged to be called	// and iBgContext size & position is updated accordingly.	SetRect( CEikonEnv::Static()->EikAppUi()->ClientRect() );			ActivateL();	DrawNow();    }
开发者ID:cdaffara,项目名称:symbiandump-mw2,代码行数:19,


示例27: GetCurAppUid

void CPenUiBackgroundWnd::Show(const TRect& aExtend, TBool aGlobalNotes,     TBool aInternal, TInt aPriority, TBool aResource)    {    //Show the window will cause a focus group change in global notes showing case.    if (!iBitmap)        {        return;            }    TUid curApp = GetCurAppUid();    TUid focusApp = GetFocusAppUid();    //dim effect due to global notes will not done by background control    if(!aInternal || aGlobalNotes)        return;          //     if (iBitmapCpoy)        {//        delete iBitmapCpoy;//        iBitmapCpoy = NULL;            }    SetRect(aExtend);    TRAP_IGNORE(ActivateL());    MakeVisible(ETrue);    if (!aResource)        {        RWsSession &ws = CCoeEnv::Static()->WsSession();        TInt wgId =ws.GetFocusWindowGroup();            TInt priority = ws.GetWindowGroupOrdinalPriority(wgId);                iWndGroup.SetOrdinalPosition( 0, aPriority);         Window().SetOrdinalPosition(0,aPriority);                   Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);        }     else        {        Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);            }     Window().Invalidate();    DrawNow();    }
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:42,


示例28: CreateWindowL

// ---------------------------------------------------------// CGreg2Container::ConstructL(const TRect& aRect)// EPOC two phased constructor// ---------------------------------------------------------//void CGreg2Container::ConstructL(const TRect& aRect){    CreateWindowL();    iLabel = new (ELeave) CEikLabel;    iLabel->SetContainerWindowL( *this );    iLabel->SetTextL( _L("Audio Device Test") );    iToDoLabel = new (ELeave) CEikLabel;    iToDoLabel->SetContainerWindowL( *this );    iToDoLabel->SetTextL( _L("Use the 'options' menu") );        iToDoLabel2 = new (ELeave) CEikLabel;    iToDoLabel2->SetContainerWindowL( *this );    iToDoLabel2->SetTextL( _L("to start the test.") );    SetRect(aRect);    ActivateL();}
开发者ID:muromec,项目名称:qtopia-ezx,代码行数:25,


示例29: CreateWindowL

/** * Construct the control (second phase). *  Creates a window to contain the controls and activates it. * @param aRect bounding rectangle * @param aCommandObserver command observer * @param aParent owning parent, or NULL */ void CCalendarManagerContainer::ConstructL( const TRect& aRect, const CCoeControl* aParent, MEikCommandObserver* aCommandObserver )	{	if ( aParent == NULL )	    {		CreateWindowL();	    }	else	    {	    SetContainerWindowL( *aParent );	    }	iFocusControl = NULL;	iCommandObserver = aCommandObserver;	InitializeControlsL();	SetRect( aRect );	ActivateL();		// [[[ begin generated region: do not modify [Post-ActivateL initializations]	// ]]] end generated region [Post-ActivateL initializations]	g_BgContext = CAknsBasicBackgroundControlContext::NewL(KAknsIIDQsnBgAreaMain, aRect, ETrue);			}
开发者ID:hihua,项目名称:hihuacode,代码行数:27,



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


C++ ActivateOutput函数代码示例
C++ Activate函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。