Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2007

    Unhappy VKB is not showing up for CEikEdwin control - 5th Edition


    After visiting all the articles and trying all the tricks I am still unable to make the VKB working. I am using CEikEdwin whose parent is another control. The HandlePointerEventL() is directly passed to the edwin control and I am not doing anyting else in that function.

    void CMyClass::HandlePointerEventL(const TPointerEvent &aPointerEvent)


    This piece of code is not working. I tried to invoke the PointerEvents using the code available in WIKI:

    void CMyClass::InvokeVK()
    TCursorSelection sel = iEikEdwin->Selection(); // remember the selection
    const TInt KBorderWidth = 2;
    const TInt KBorderHeight = 2;
    TPointerEvent event;
    event.iType = TPointerEvent::EButton1Down;
    event.iParentPosition = iEikEdwin->PositionRelativeToScreen()+TPoint(KBorderWidth,KBorderHeight);
    event.iPosition = iEikEdwin->Position()+TPoint(KBorderWidth,KBorderHeight);
    iEikEdwin->HandlePointerEventL(event); // simulate a pointer down event
    event.iType = TPointerEvent::EButton1Up;
    iEikEdwin->HandlePointerEventL(event); // and then simulate a pointer up event to complete the touch operation
    iEikEdwin->SetCursorPosL(sel.iAnchorPos, EFalse);
    iEikEdwin->SetCursorPosL(sel.iCursorPos, ETrue); // restore the selection

    But this is also not working. :( Can someone give some better idea??

  2. #2
    Nokia Developer Champion
    Join Date
    May 2004

    Re: VKB is not showing up for CEikEdwin control - 5th Edition


    There is a ready-made example in the following wiki article, hope you can get some clue from it.

    "How to force launch of VKB in CEikEdwin"


    Ziteng Chen

Similar Threads

  1. Can not get the VKB to appear with CEikEdWin
    By abolfoooud in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-03-10, 05:48
  2. Subsetting VKB in 5th Edition
    By isak1986 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-12-11, 11:26
  3. [moved] How to trigger VKB for CEikEdwin in V5?
    By xuelanding in forum Symbian User Interface
    Replies: 8
    Last Post: 2009-09-25, 15:32
  4. Need assistance with game not showing up for 5th edition
    By m00gl3 in forum [Closed] Publishing to Nokia Store
    Replies: 2
    Last Post: 2009-07-31, 15:24
  5. [moved] 5th edition - lanuch VKB
    By Liwuje in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-12-15, 19:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts