Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Management Window Drag & Drop

(1/4) > >>

Pecan:
A .cbp file can be dragged to the "Opened Files" frame and the
"Management" banner.
But I cannot drag any files to the Management frame.

Is this by design or a bug. If a bug, could you point my nose to the code section and I'll see if I can glom a fix. It's probably just a case of copying a bit of code.

thanks
pecan

Edit: Win XP sp2; SVN 2016

mandrav:
It's because of wxFlatNotebook. It makes its notebooks accept drag'n'drop, effectively killing our drag'n'drop implementation...

sethjackson:

--- Quote from: mandrav on February 16, 2006, 05:53:51 pm ---It's because of wxFlatNotebook. It makes its notebooks accept drag'n'drop, effectively killing our drag'n'drop implementation...

--- End quote ---

Don't know if it matters, but eranif updated the wxFNB code in CVS a few days ago. You may want to check it out......  :)

mandrav:

--- Quote from: sethjackson on February 16, 2006, 05:57:27 pm ---Don't know if it matters, but eranif updated the wxFNB code in CVS a few days ago. You may want to check it out......  :)

--- End quote ---

This has nothing to do with the actual version. It's a conflict. wxFNB uses its own drag'n'drop handler to allow dragging pages (even between different notebooks). So, if you drag any file over a wxFNB, wxFNB's drag'n'drop code is called instead of C::B's.
Clear now?

sethjackson:
Yep.  :oops:

Navigation

[0] Message Index

[#] Next page

Go to full version