CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    23

    Question mouse program interface

    does anybody has an idea how to
    interface between mouse and da source code???
    my senior gave me an idea abt using interrupts......

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: mouse program interface

    You need to tell the system you want mouse callback events. Some libraries provide this; I don't know how you'd do it directly using just Win32.

  3. #3
    Join Date
    Feb 2008
    Posts
    23

    Re: mouse program interface

    Its win xp and the compiler
    is dev c++
    do u know library or function name?

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: mouse program interface

    GTK+ is the library I use, but that might be overkill in this case (it's a full GUI toolkit).

  5. #5
    Join Date
    Apr 2004
    Location
    England, Europe
    Posts
    2,492

    Re: mouse program interface

    Quote Originally Posted by rage1989
    does anybody has an idea how to
    interface between mouse and da source code???
    my senior gave me an idea abt using interrupts......
    Quote Originally Posted by rage1989
    Its win xp and the compiler
    is dev c++
    do u know library or function name?
    In Windows you handle the mouse messages which are sent to your window, for example: WM_MOUSEMOVE.
    My hobby projects:
    www.rclsoftware.org.uk

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured