开发者

How to get group of key events in OfferKeyEventL function of Container class in Symbian S60

I am using Carbide.C++ 2.3 and S60 3rd FP2 SDK

In Container's OfferKeyEventL function I am receiving all the key events but how can I identify key map/key group?

I mean to ask how to identify is 开发者_运维百科it Alpha key event or Numeric Key event or special key event??

Please guide me...


You can use iCode and iScanCode members of TKeyEvent for that.

/** The character code generated for an EEventKey, or 0 for a down or up event.
Key codes for special keys are defined in TKeyCode. */
TUint iCode;

/** The scan code of the key that caused the event.
Standard scan codes are defined in TStdScanCode. */
TInt iScanCode;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜