Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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?

     
  • Sorry, PDCurses doesn't support that.

     
  • 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.