From: Steven P. <n9...@n9...> - 2004-04-07 00:15:58
|
On Apr 6, 2004, at 6:24 PM, Roger Binns wrote: >> So, it is something with not being attached to a proper wx control? >> I >> dunno.... Just throwing this out to see if it rings any bells for you. > > There is a problem with the drag and drop and you have notebook panes. > What I found was that it isn't necessarily the currently viewed pane > that gets a drop message: Ah, but I was looking for ANY OnDropFiles() call, and none was happening. Very strange... I found that if I changed the registration call to not be the ringerview object, but rather it's preview pane, then a drop to that pane will work. I haven't found an object I can register for to get the left two panes, though... grid doesn't work, nor does tbsplitter or lrsplitter.... I got this from a thread I found that suggested you may have to register every control in a view (sigh), although it wasn't conclusive: http://lists.wxwidgets.org/archive/wx-users/msg35311.html But I will perservere. LoL. Eventually *something* has to give. <wink> At least finding out that registering the preview pane will finally get something to triggers shows that there is something to this train of thought... as long as it's not the "crazy train". :-) |