• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modal Dialog and Drag & Drop in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal Dialog and Drag & Drop in a NSTableView


  • Subject: Re: Modal Dialog and Drag & Drop in a NSTableView
  • From: Gerard Iglesias <email@hidden>
  • Date: Thu, 16 Jun 2005 00:53:43 +0200

Hi,

Something to note here, is that this kind of thing invoke inter process communication, and I wonder if the event mask in action during modal session is not to restrictive for this kind of communication stuff ???

I don't have the time to look at this myself this night, but maybe you have to configure the runloop ?

Regards

        Gérard


On 16 Jun 2005, at 12:41 AM, Stéphane Sudre wrote:


On mercredi, juin 15, 2005, at 10:56 PM, Corbin Dunn wrote:



Any idea?


This should work; have you tried it when it isn't modal to narrow down that issue?



Sure, with a makeKeyAndOrderFront:, it just works.


 And, exactly how and what are you registering for drag and drop?


[IBarray_ registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,nil]];


I know it could be simplified to [NSArray arrayWithObject:NSFilenamesPboardType] but when things don't work, you don't go to simplification first.



Is it possible to do drag and drop in a Modal dialog (I must confess I haven't find any Cocoa application doing this for the moment)?



Nearly every Cocoa app displays this feature.

Take TextEdit for example. Cmd-O (modal window), drag from finder any file and drop it into there.


I wouldn't bet my right hand on this as there's some probabilities that the Open and Save dialog in this OS version could be a a mixed of Cocoa and Carbon (WWDC 2002 Mac OS X State of the Union could confirm it but I don't have the DVD to check).



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Modal Dialog and Drag & Drop in a NSTableView
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: Modal Dialog and Drag & Drop in a NSTableView (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Modal Dialog and Drag & Drop in a NSTableView
  • Next by Date: Re: User-defined global hotkeys
  • Previous by thread: Re: Modal Dialog and Drag & Drop in a NSTableView
  • Next by thread: Re: Modal Dialog and Drag & Drop in a NSTableView
  • Index(es):
    • Date
    • Thread