I know it seems to be a silly question however its vexed me a lot that's why I am putting it on Stackoverflow. Please be a little lenient.
Here is my NSButton
:
there are 2 NSLabel
s on it
showing Name of the button Installed Apps
showing count of installed apps
Problem
When I click near NSLabel
, the NSButton
action does not get called.
P.S: I am from WPF world of Microsoft. There we had MouseDownPreview
events to handle these type of situations. I don't know much about COCOA. Please help, many thanks...