I confirm too for NetDock tray docky

Code: Select all
picObject = IIntuition->NewObject(NULL, "bitmap.image",
BITMAP_SourceFile, keymapflag,
TAG_DONE);
Code: Select all
picObject = IDataTypes->NewDTObject(keymapflag,
PDTA_DestMode, PMODE_V43,
DTA_GroupID, GID_PICTURE,
TAG_DONE);
It works, but as soon as I drag&drop an icon over its docky -> system freezes.zzd10h wrote:I don't understand,
With the code that I sent you, you still have pink rectangle instead of flags ?
It worked well for me (and it seems for Kas1e, too).
Out of sheer curiosity - is there a reason why you decided not to provide the screen pointer in BITMAP_Screen here? The pointer is normally required.Code: Select all
picObject = IIntuition->NewObject(NULL, "bitmap.image", BITMAP_SourceFile, keymapflag, TAG_DONE);
Can't remember if I tried with/without such tag, will test it again and post here results.trixie wrote:@javierdl
Out of sheer curiosity - is there a reason why you decided not to provide the screen pointer in BITMAP_Screen here? The pointer is normally required.Code: Select all
picObject = IIntuition->NewObject(NULL, "bitmap.image", BITMAP_SourceFile, keymapflag, TAG_DONE);