| Article: |
Working With Bitmap Images; Document-Based Application Redux | |
| Subject: | Making the view a dragging destination | |
| Date: | 2002-05-03 12:34:15 | |
| From: | michele | |
|
Response to: Making the view a dragging destination
|
||
|
Hello p,
|
||
Showing messages 1 through 4 of 4.
-
is Programming Topics a pdf?
2002-05-09 07:08:32 psheldon [View]
Looked for it with Sherlock. There are many many pdf files. I recall something about ApKit from long ago where I started to read about model view controller but felt not wise enough to follow then. I might like to read such a text now.
-
both Acrobat and Preview show whole pdf
2002-05-09 06:54:38 psheldon [View]
The drag operation to your application only gets the first page into an image.
-
Making the view a dragging destination
2002-05-05 21:49:21 dallasmac [View]
I added the drag and drop code, but dragging an image only works after I have opened an image.
Is there a way that the drag event work when the inital window appears.
Thanks
Steve -
Making the view a dragging destination
2002-05-06 13:19:45 michele [View]
Basically no, because while dragging an image you put the data (raw, bitmap, etc..) in a NSImage which will be put in turn into an NSImageView.
That's why you need an existing NSImage (even transparent one) to drag another into it. See the Composite Lab example in AppKit for more details.
Michèle


