Want to return event to OS ! Please help me !
| Wed, 2006-06-07 09:41 | |
|
Hi all !
Please help me to correct my code . I want to return event to OS in device ! thanks void CGamesAppUi::HandleWsEventL( const TWsEvent& aEvent, CCoeControl* aDestination ) { TKeyEvent* k = aEvent.Key(); TInt buff = k->iScanCode; if( buff != 164 ){ _LIT(message,"Hello!"); CAknInformationNote* informationNote = new (ELeave) CAknInformationNote; informationNote->ExecuteLD(message); } else{ //== I want to return event for OS } } //============== doctinh 113114 ============== |
|






Forum posts: 1242
And btw, really no need to say "Please help me!" in the title of a posting...
René Brunner
Forum posts: 107
Thanks ! I do it but I don't work ! Please help me again!
Forum posts: 107
I can do that . This my code :
void CHelloWorldAppUi::HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination)
{
TKeyEvent* k = aEvent.Key();
TInt buff = k->iScanCode;
TBuf<25> buf;
if( buff != 164 ){
_LIT(message,"Hello!");
CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
informationNote->ExecuteLD(message);
}
else{
//===== Return event for OS
CEikAppUi::HandleWsEventL(aEvent,aDestination);
}
}
Forum posts: 1242
René Brunner
Forum posts: 107
It worked !