|
-
Jan 22nd, 2022, 08:03 AM
#11
Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature
 Originally Posted by dmrvb
Hello Fafalone
It can be good to have a break from software. I have not done much with these controls while you have been away, it will take a couple of days to get back into them.
To make a start,
The screen flicker is because the uclist (shellbrowse) control does a double update, first with the files first, then with the folders first, hence the flicker. This only occurs (or is only visible) on folders containing a lot of files and subfolders.
I select a folder in ucTree, this execute "ucList.BrowserOpenItem ucTree.SelectedShellItem" and this gives the double update. This is confirmed by putting a debug.print in "ucList_DirectoryChanged".
I think this is intrinsic behaviour rather than a "race condition" between ucTree and ucShellBrowse.
Interesting observation problem does not occur if I set uctree.MonitorDirChanges = false
.....more in a day or so
Can you tell me more about what settings you're using? I can't seem to replicate this... I get a single ucShellBrowse_DirectoryChanged message regardless of whether I navigated through the tree or the browser. Perhaps set dbg_PrintToFile to True and attach the debug log it creates? Even better if on the host form you can take the ucShellTree_DebugMessage event and use ucShellBrowse.DebugLogInsertMessage "[ST]" & sMsg, so it gets the sequence.
Does this happen in an unmodified version of DemoEx and/or DemoOpenDlg?
(Just to confirm, you are on the latest version right? I know a very long time ago it was duplicating directory loads when combined with the tree)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|