×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2011
    Location
    Final Fantasy Land
    Posts
    31

    How to get mouse/cursor position in app

    Hi I want to get cursor/mouse position in my app. When I press, release, move mouse, How can I get the mouse positon? Please help me.

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: How to get mouse/cursor position in app

    Hi,

    You can get by implement HandlePointerEventL methods in your container class...and you can handle pointer Press/Release/drag events and get exact position coordinate X,Y.

    For more help, look into SDK's help.

    Or Go though this link
    Last edited by kis_spn; 2011-06-28 at 06:39. Reason: Add Wiki reference example

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to get mouse/cursor position in app

    the link is for simulating pointer events, thus you might want to try another link: http://www.developer.nokia.com/Commu...pointer_events

    Also if you are targeting Symbian^3, you can also get multi-touch events: http://www.developer.nokia.com/Commu...or_multi_touch

  4. #4
    Registered User
    Join Date
    Mar 2011
    Location
    Final Fantasy Land
    Posts
    31

    Re: How to get mouse/cursor position in app

    It's working. Thank you, guys.

Similar Threads

  1. Replies: 6
    Last Post: 2009-08-27, 10:34
  2. Replies: 9
    Last Post: 2009-07-31, 09:37
  3. Replies: 2
    Last Post: 2009-06-22, 10:19
  4. How to set Cursor Position in CAknTextSettingItem
    By pranay_preet in forum Symbian
    Replies: 1
    Last Post: 2009-02-19, 05:08
  5. How to get the Cursor Position?
    By yuva69 in forum Symbian
    Replies: 1
    Last Post: 2002-09-03, 05:09

Posting Permissions

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