Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
BOUNTY: Notebook class with "close" button at the right
mandrav:
Thanks Eran :)
I 'm almost done integrating it. I only have a problem with middle-click closing. Did you update the zip file by any chance? :lol:
Ceniza:
Pretty nice job. Really.
mandrav: After wxFNB_BOTTOM and your request be implemented would it be ready for the transition? (I know, I'll be patient.) :)
There's only one minor thing left: when using the style wxFNB_NO_X_BUTTON, could the space saved by not drawing the X be used? I mean, if there won't be X button but navigation arrows, those could be moved to the right, giving at the same time a few extra pixels for the tabs.
mandrav: the middle-click problem is the selected tab changes BTW?
280Z28:
I have wxAUI and wxFlatNotebook working together nicely:
svn://djss.dynalias.net/wxAUI/trunk
mandrav:
@Eran: you have a bug in RemovePage().
In the event you 're posting you have:
event.SetSelection(m_pages->m_iActivePage);
when it should be:
event.SetSelection(page);
Because of this, I was deleting the wrong page. No wonder why it went crazy on me ;)
eranif:
OK,
I am done with the bottom style here is the last piece missing (the default style, ironcially the hardest one to move to bottom ...)
Here is how it looks:
For the middle button: Is is the same problem reported earlier by Ceniza (the selection is changed before closing the tab)?
If it is the same problem - I will have a look at it
Eran
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version