registerDragTypes
registerDragTypes
- Subject: registerDragTypes
- From: "Emmanuel Verlynde" <email@hidden>
- Date: Mon, 20 Jun 2005 18:01:41 +0200
- Organization: Opendisc
Hi,
When my application start, debugger output
following message into console : "GrP not requesting _registerDragTypes because
the window is dying already". What is
it?
How i can make easily an DragNDrop on a
NSImageView? Because i use code below with
xcode 2.1 and tiger but this doesn't work, on jaguar this work
perfectly:
- (void)
awakeFromNib
{
...
[oBitmapDrag setTarget: self];
[oBitmapDrag setAction:
@selector(aBitmapDragValueChanged:)]; ...
}
- (IBAction)
aBitmapDragValueChanged:(id)sender
{
NSBitmapImageRep * src = "" imageRepWithData: [[oBitmapDrag
image] TIFFRepresentation]];
NSData *
bmpData = [src representationUsingType: NSBMPFileType properties:
nil];
...
}
Thanks.
|
_______________________________________________
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