Menu

Mouse move

Help
Adam Gates
2010-07-06
2013-04-25
  • Adam Gates

    Adam Gates - 2010-07-06

    Im getting mouse move while the mouse button is down.
    How do I get mouse move messages when no button is pressed?

     
  • William McBrine

    William McBrine - 2010-07-06

    Sorry, PDCurses doesn't support that.

     
  • Leandro Müller

    Leandro Müller - 2011-01-30

    rad_ad i use this simple method to get the mouse position without having to click:

    request_mouse_position();
    int tmpx, tmpy;
    wmouse_position(windowhere,&tmpy,&tmpx);
    

    I use this inside my button class to check wether or not the mouse is hovering it… although i am having a few problems with mouse clicks and i am waiting for someone to help on my subwindows thread.

     

Log in to post a comment.