CELayoutEditor--Add scrollbar to window without ScrollablePa
Posted: Thu Aug 02, 2007 07:52
Hi,
i want to add VerticalScrollbar or HorizontalScrollbar
to window component through DialogAddWindow.
Then i masked:
windowType.find((utf8*)"VerticalScrollbar") != String::npos ||
windowType.find((utf8*)"HorizontalScrollbar") != String::npos ||
in RequiresParent(), is there other things need to do?
or will this cause any crash?
ps.i found that if i mask
//windowType.find((utf8*)"LargeVerticalScrollbar") != String::npos ||
and add it on window....then crash...
Otherwise,
ScrollablePane seems has 1 bug?
it only can add 1 item,and if i add another item in it,
then the first one disapears in treelist,
and if i delete the second....crash!!
i want to add VerticalScrollbar or HorizontalScrollbar
to window component through DialogAddWindow.
Then i masked:
windowType.find((utf8*)"VerticalScrollbar") != String::npos ||
windowType.find((utf8*)"HorizontalScrollbar") != String::npos ||
in RequiresParent(), is there other things need to do?
or will this cause any crash?
ps.i found that if i mask
//windowType.find((utf8*)"LargeVerticalScrollbar") != String::npos ||
and add it on window....then crash...
Otherwise,
ScrollablePane seems has 1 bug?
it only can add 1 item,and if i add another item in it,
then the first one disapears in treelist,
and if i delete the second....crash!!