How to get subwindow events in main window?
Sergey Lentsov (8268) 63 posts |
Hello, I have application with some subwindows attached to main window. Actually I have Toolbox Treeview control in the subwindow and when I drag-and-drop file from Filer to the Treeview I not get DataLoad/DataSave messages. Drag-and-drop to main window work ok. |
Matthew Phillips (473) 721 posts |
What language are you using for your development, and are you using any standard libraries to interface with the Toolbox? |
Jean-Michel BRUCK (3009) 362 posts |
Hello, |
Sergey Lentsov (8268) 63 posts |
I’m using C/C++ for development. Thank you for info about “Deliver all wimp events” i will try it. Some problem that my TreeView is in the own subwindow, i mean my the chain is: TreeView→Subwindow→MainWindow. |
Jean-Michel BRUCK (3009) 362 posts |
If I’m not mistaken, for the drag and drop of a file it’s a DataLoad message that the application receives. |
Matthew Phillips (473) 721 posts |
Correct, in a Wimp application, dragging and drop of a file from a Filer window generates a DataLoad message, whereas drag and drop from another application’s save box generates a DataSave message. I’ve never programmed with the Toolbox so I don’t know whether the events appear differently there. |