Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Management Window Drag & Drop
Pecan:
--- Quote from: thomas on February 28, 2006, 02:23:17 am ---this->AnyDataOrMemberOfBaseClass good
SetDropTarget is a member of a base class.
--- End quote ---
Ok, thanks. I'll give it a test.
pecan
Pecan:
--- Quote from: Pecan on February 28, 2006, 01:15:38 am ---I believe I've gotten to the bottom of the "wxFNB stole the drop target" problem.
--- End quote ---
Well... it seems I'm all wet, full of smoke, all bulls..t
Tracing through the wxFlatNotebook::SetDropTarget() call shows that
wxFNB is working fine. It uses its own window pointer; and the call destroys
no other drop target.
I'm stumped as to how the main.cpp drop target is being trumped by
wxFNB's SetDropTarget() call. But it is!
thanks
pecan
Pecan:
Is it the case that a wxPanel client area trumps (overrides)
a wxFrame client area when wxWidgets has to chose a
focus for an operation such as dragNdrop??
Is this why wxFNB (a wxPanel) can steal a DropTarget
from main.cpp's mainFrame (a wxFrame)?
thanks
pecan
Navigation
[0] Message Index
[*] Previous page
Go to full version