How to enable Arrow Pointer?

Login to reply to this topic.
Sun, 2007-05-06 21:20
Joined: 2006-08-21
Forum posts: 39

Hi,

I'm trying to enable arrow pointer in s60 3rd edition application but no success.
Any tip?

    if(iEikonEnv->VirtualCursor().CursorState(*iEikonEnv)==TEikVirtualCursor::EOff)
{
TRect clientArea = aRect;
iEikonEnv->WsSession().SetPointerCursorArea(clientArea);
       iEikonEnv->WsSession().SetPointerCursorMode(EPointerCursorFixed);        iEikonEnv->WsSession().SetPointerCursorPosition(TPoint(clientArea.Width()/2,clientArea.Height()/2));
iEikonEnv->VirtualCursor().SetCursorStateL(TEikVirtualCursor::EOn, *iEikonEnv);               
}

i also tried call: iEikonEnv->DrawCursor(this,TPoint(clientArea.Width()/2,clientArea.Height()/2),3);

but getting EIKON 5

What i'm trying to do is enable arrow pointer as its available in Broswer.

Thanks
  • Login to reply to this topic.