views:

24

answers:

0

Hi all,

I am trying a simple drag and drop application.

I have created a subview of NSView named: CameraIcon, which has an image view and certain text fields over it. In its mouseDown: method, I am initiating drag operation, I have also given a NSLog in it, so that I can notice in debugger when it is clicked.

Problem is:

when I try to click the NSImageView over CameraIcon, the mouseDown method is not called and the drag operation is not initiated. It is called only if I click on any other portion of CameraIcon or on any text field over it.

This problem is only occurring in Leopard. In Snow Leopard it is working as intended.

Can anyone suggest me some solution for it?

Thanks,

Miraaj