problem with offerkeyeventL in dialog
hi every one,
i have a class CVideoList which is derived from CAknDialog. control is not comming into OfferkeyeventL when i pressed keys on the mobile. my code is like that. plz suggest me.
iLink1 = (CEikLabel*) Control(ELink1);
TBool CVideoListDialog::OkToExitL(TInt aButtonId)
TKeyResponse CVideoListDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
if ( aType != EEventKey )
switch ( aKeyEvent.iCode )
return iLink1->OfferKeyEventL(aKeyEvent,aType );
hi yucca. plz let me give some suggession regarding this dialog.
The method signature looks good to me. What about dialog creation? Simple ExecuteLD(...) or a more complex procedure?
And what about parent control? Sure you hand events down the chain and right into the CVideoList class?
I'd say one would need more information to be sure about what's going astray...