×
Namespaces

Variants
Actions

How to mute device in 2nd edition

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: User:Kanu123 (30 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)
RWsSession sess=CCoeEnv::Static()->WsSession();
TWsEvent event;
TInt id=sess.FindWindowGroupIdentifier( 0, L("*Phone?"));
 
event.SetType(EEventKey);
event.SetTimeNow();
event.Key()->iCode = EKeyDevice1;
event.Key()->iModifiers = 0;
event.Key()->iRepeats = 0;
event.Key()->iScanCode = EStdKeyNull;
sess.SendEventToWindowGroup( id, event );
This page was last modified on 26 July 2012, at 06:22.
39 page views in the last 30 days.
×