How to release mouse in Carbon?

Discussion in 'Mac Programming' started by pinsrw, Oct 11, 2010.

  1. macrumors regular

    May 30, 2010
    Hi all,

    I have a Carbon based program that creates its main window, and later it creates a child window after the mouse button is pressed. I want to have all mouse events to go the child window immediately, without waiting for the user to release the mouse button. Is there a way to do this in Carbon?

    In Windows it's a simple call to SetCapture but in Mac OS/X with Carbon I cannot find an equivalent function.


Share This Page