On Friday, February 21, 2003, at 02:26 PM, Ken Williams wrote:
On Friday, February 21, 2003, at 12:43 PM, Sherm Pendley wrote:As a convenience, NSWindow and NSView - and probably some other classes as well - provide default "do-nothing" implementations of the NSDraggingDestination methods. To do anything useful, these default methods need to be overridden in a subclass, and your drop target needs to be an instance of that subclass.
Why not just stomp on a few of the NSWindow and NSView methods with overridden subroutines? It's yucky, but wouldn't it work?Umm... that's what I said. You "stomp" on the default methods by creating a subclass of NSWindow/NSView/NSWhatever, and overriding whatever methods you want to customize.
sherm--
C programmers never die - they're just cast into void.
