Andrzej Wytyczak-Partyka wrote:
> OK. So it's here :
>
> http://iapart.net/dav/soc/TabBrowse/
>
> :-))
>
> I still can't compile it under windows (some stl related linker errors)
> so could you please send me the compiled TabBrowse.dll ?
The only thing you need is to add a missing $(STL_INCLUDED) into your
makefile. Search for every occurence of $(CC_INCLUDES) and add the
missing part there.
Aha, I had this done before. The problem was dad I had to compile the stlport
library, after that everything compiled fine, but the office crashed just after starting :(
Further you have to enable the include of "<stdio.h>" inside your source
and you should remove the "fflush(stdout);" all ! It made trouble here !
The reason for that isnt currently clear for me ... but removing of this
code line let everything work fine .-)
I have <cstdio> - I think it complies with the new style.
Indeed, after removing the fflush() call the office stopped crashing !!
This is so odd. Maybe I should use ::std::stdout, not stdout. But
since I have the line using namespace std, that doesn't seem to be
the problem.
> I'll put it into the package.
> I'm trying to send the sourcecode to sourceforge. I'll report upon
> success.
Regards
Andreas
Anyway, I took the weekend off - I was resting. The last week was pretty hard,
I was working ca. 16h per day.
Today I'm going to cleanup the code a bit, and then I would like to implement
one more feature, but I need your input on this please.
I would like the tab control to show up after opening the second document,
not right after the start of the office.
I mean - we don't realy need it when we have only one document open, right?
Like in firefox - when you only have one document open the tab bar doesn't
show up at all. Further, when you close the second tab - the tab bar dissappears
again. But here another issue comes into play - that the tab is not removed after
the document that lived inside it is closed. But this is tricky, because using
the COMPONENT_DETACHED event of the tab's frame doesn't give 100% certainty
that the document has been closed - it might be reattached in the next tick.
What do you think about this ?
Regards,
Andrzej