How to catch mouse click???

Discussion in 'Mac Programming' started by Sergio10, Oct 21, 2007.

  1. Sergio10 macrumors regular

    Joined:
    Oct 3, 2007
    #1
    Hello!

    How to catch mouse click event using Carbon API??
    Please give me code like this:

    while(!mouse left click)
    {
    printf("Mouse left button click")
    }
    Thanks!
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    I'd start looking at CarbonEvents.h.
     

Share This Page