Skip navigation.
 
mlRe: In need of some help with NSToolbarItem
FROM : Matthew Delves
DATE : Tue Mar 04 23:59:08 2008

On 05/03/2008, at 9:38 AM, Peter Ammon wrote:

>
> On Mar 4, 2008, at 1:55 PM, Matthew Delves wrote:
>

>> Greetings,
>> I've been reading through some of the apple documentation and have 
>> a basic understanding of what needs to be done when creating an 
>> NSToolbarItem subclass that contains a custom view.
>>
>> What I'm not sure about is how to pass any mouse click events 
>> through to the custom view rather than have them handled by the 
>> NSToolbarItem.
>>
>> Currently the custom view contains an NSSlider and an NSTextField.
>>
>> Any help is greatly appreciated.

>
> You do not need to take any special action here.  Mouse events will 
> be passed to your view automatically.  Are you seeing something 
> different?


What I'm seeing is that when I try to drag the NSSlider it will move 
the window instead. Is there a way to get around this?

Thanks,
Matthew Delves

Related mailsAuthorDate
mlIn need of some help with NSToolbarItem Matthew Delves Mar 4, 22:55
mlRe: In need of some help with NSToolbarItem Peter Ammon Mar 4, 23:38
mlRe: In need of some help with NSToolbarItem Matthew Delves Mar 4, 23:59
mlRe: In need of some help with NSToolbarItem Peter Ammon Mar 5, 00:32