PDA

View Full Version : How to release mouse in Carbon?




pinsrw
Oct 11, 2010, 09:37 PM
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.

Help?
Thanks.