4
« Last post by ollydbg on Yesterday at 09:02:23 am »
I did some hack on this issue.
The idea is to create a new cbAuiNotebook control, which can be "float" or docked. The original notebook is centered. I have to "Menu-View->Perspective->Delete current" to see the new added notebook window.
Here is the result screen shot and the patch file.
The issue here are:
I see that cbAuiNotebook can't be focused?
I mean when loading a file to a new editor, I would like to put the new editor to the "active cbAuiNotebook", but it just failed. So, I just toggle a "bool" variable, so half of the files were added to the original cbAuiNotebook, and the other files were added to another notebook.
Another issue is that I have enabled the option "wxAUI_NB_TAB_EXTERNAL_MOVE". When I am using the wxAui sample code, I see that editors can be dragged from one Notebook to another. But in my changes, I see can't see I can drag editors from one to another.
There are still many other things to handle, but I see this could be a simple hack and start.
Any ideas?
Thanks.