Home » U++ Library support » TreeCtrl » TreeCtrl Opened Scrollers 603.r9 [BUG?][FIXED]
TreeCtrl Opened Scrollers 603.r9 [BUG?][FIXED] [message #1832] |
Wed, 22 March 2006 00:55 |
|
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
It is just me and my computer or is it a bug?
From reference example TreeCtrl, if dir tree is opened (using
tree1.Open(0,true); ):
1. Both scrollers don't show at the begining without mouse over.
1.1. Instead of them, you can see copied strips of former top window (theide).
1.2. If you start with a smaller size TreeCtrl application window using SetRect, those strips are just black.
2. You need to move the splitter to get statusbar info to get in place.
3. Resizing corner on statusbar, despite unfunctional, is shown and changes the cursor.
//from reference TreeCtrl
App() {
horz.Add(tree1);
// horz.Add(tree2);
horz.Add(optree); //
Add(horz.Horz().SizePos());
// optree.SetRoot("everything");
for(int i = 0; i < 10; i++)
optree.Add(i ? rand() % i : 0, x[i], AsString(i));
tree1.MultiSelect();
tree1.WhenOpen = THISBACK(OpenDir);
tree1.WhenClose = THISBACK(CloseDir);
#ifdef PLATFORM_WIN32
String dir = String(GetExeFilePath()[0], 1) + ":\\";
#else
String dir = "/usr";
#endif
tree1.SetRoot(CtrlImg::Dir(), dir);
tree2.SetRoot(CtrlImg::Dir(), dir);
Progress pi;
pi.AlignText(ALIGN_LEFT);
// LoadTree(0, dir, pi);
tree2.NoCursor().NoRoot();
// tree2.SortDeep(0);
Sizeable();
tree1.WhenCursor = THISBACK(ShowPath);
tree1.AddFrame(info);
tree1.Open(0,true); //aris added
SetRect(50,50,672,300); // "copied" strips
SetRect(50,50,671,300); // black strips if <671
}
[Updated on: Tue, 02 May 2006 03:16] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 03:40:56 CEST 2024
Total time taken to generate the page: 0.03017 seconds
|