Search:
Type: Posts; User: Mith
Search:
Search took 0.06 seconds.
-
VB6SP6, Win10x64, VBCCR 1.7.100
@Krool
The redraw method of the TreeView does not work correct. The scrollbars are not included when setting redraw=false.
When adding many items to the tree...
-
Changes done:
Looks good at Win11 DPI 175%:
190462
-
I found the problem: you removed "Or ILC_MASK" at InitImageLists at your TB project and i copied your code!
Add the flag again to see overlay icons:
Private Sub InitImageLists()
himlTV =...
-
Win 10 german enum comparison:
190460
They look the same, the old enum in the middle and the new enum at the right.
I just saw that the overlay icon for linked folders is gone. See left vs...
-
No, its not different with the original method. I was just wondering why not all drives are shown at the Desktop branch. I guess at Desktop you only see drives that are available for all users and at...
-
Now the linked drives are visible at "This PC". Is it normal that they are not visible at "Desktop"?
-
I found the problem:
The new enum method doesnt include these kind of drives:
lReturn = pISF.EnumObjects(0, _
SHCONTF_CHECKING_FOR_CHILDREN Or _
...
-
I found another problem while testing the control:
Drive letters linked to network shares or local folders are not displayed in the ShellTree.
For example, i mapped the network share...
-
ucShellTree v2.9.4 download: 190452
Included files:
ucShellTree.ctl
ucShellTree.ctx
ucShelltree.bas
To use it as an OCX it would be better to convert this project variables to public...
-
I will share the updated ShellTree by user request. I dont want to start a new thread with a forked version.
I dont use TwinBasic, so i only update the VB6 control. Currently i have no time to...
-
Today i have some good news for all OCX lovers :D
After many code changes i tried to compile the control as an OCX with binary compatibility again and this time is was successfull!
I guess it was...
-
Agree, i had this issue several times. Don't use any 32bit icons in your project if you support Win7!
-
ucShellTree with new enum + ShowHidden=True & Win11 Explorer + hide hidden:
190441
AppData is not visible for the current user but visible for the Default user in the tree!
ucShellTree...
-
I tested the new enum method with Server2019 and 2022 and i cant see the hidden AppData folder until i activate the visibility option in the explorer.
I guess i should post the problem at...
-
I was kidding myself, because i had the visibility options in the Windows explorer settings turned on!
Now im back where i started!
The enumeration of ShellObjects depends on the visibility...
-
Great, it works now! :thumb:
The hidden AppData folder is now visible! :)
Replace this in TVExpandFolder:
siParent.BindToHandler 0&, BHID_EnumItems, IID_IEnumShellItems, pEnum
...
-
I fixed the problem with the error at BindToHandler: the other enum method uses BHID_SFObject with BindToHandler but the ucShellTree project doesnt know about this UUID. I can only chosse between...
-
I tried to test the other enum method but BindToHandler returns always -2147467262 and i get no IShellFolder object.
Maybe my def of IID_IShellFolder is wrong?
Private Function...
-
Check this code to use hidden/superhidden flags:
...
hr = SHCreateItemFromIDList(pidlRoot, IID_IShellItem, pISI)
hr = pISI.BindToHandler(0, BHID_SFObject, IID__IShellFolder, pISF)...
-
IF Win8 or Higher = True THEN use bindctx ELSE fall back to current standard
or add a new property like "ShowSuperMegaHiddenItems" that is available with Win8 or higher
ShowSuperMegaHiddenItems...
-
please read the above again ;)
We are not developing a usercontrol for VB6 users. The control will be used in an app by end-users that are mostly using Windows 10 and Windows 11:
Desktop...
-
I guess i found the problem: in the function TVExpandFolder at line "siParent.BindToHandler 0&, BHID_EnumItems, IID_IEnumShellItems, pEnum" you init the enum object to get all items from a parent...
-
oh well, oh well, the AppData folder is also hidden with all workstation versions (7,8,10,11)!
Do the Shell APIs have to follow the Windows Explorer settings regarding the visible folder/file...
-
The problem with the hidden folder "AppData" goes along with Server2008R2, Server20212, Server2019 and Server2022.
Starting the exe with full admin rights doesnt change anything.
The folder...
-
It seems thats the ShowHiddenItems/ShowSuperHidden properties not work correct with Server2008R2.
The folder is visible after i manually unide the items via the explorer configuration:
190435
...
-
At Windows Server 2008 R2 i want to open the existing path "C:\Users\Administrator\AppData\Local\Temp\1" using ucTree.OpenToPath but it doesnt work because the folder "AppData" is hidden in the tree:...
-
It's never easy to maintain the code of a other dev but i try my best :afrog:
-
Krool's subclassing works now with ucShellTree! :thumb:
I also had to add another subclassing function for the FocusTimer:
CTL:
Public Function zzz_FocusTimerProc(ByVal hWnd As Long, ByVal...
-
ucShellControl uses 4 SubclassProcs with different arg's:
Public Function ShellTreeSubclassProc(ByVal hWnd As Long, _
ByVal uMsg As Long, _
...
-
I decided to use Krool's Subclassing and transfered your Subclassing code from TwinBasic to VB6.
Currently im stuck with the AddressOf operator:
Subclass UserControl.hwnd, AddressOf...
-
Currently i use your original subclassing from v2.7 (ssc_Subclass). I want to switch to LaVolpe's Subclassing With Common Controls Library to avoid the crashes but im a little bit confused how to...
-
I found the reason why ucShellTree crashes on every Windows Server version:
The Data Execution Prevention option is always activated for all apps:
190425
No crashes anymore after i switched...
-
ucShellTree crashes with Server 2019 too.
It looks like all Windows server versions have a problem with the control.
Can you test this and hopefully find a fix for the problem?
-
ucShellTree crashes with Windows Server 2016 too:
190423
190424
-
ucShellTree is not working with Windows Server 2012 R2 too:
190421
Windows crash reports:
Problem signature:
Problem Event Name: BEX
-
ucShellTree is not compatible with Windows Vista and Windows Server 2008 R2 (based on Win7). I tested the control with both of them.
The minimum requirement is Windows 7 based on my tests.
Vista:...
-
I still use the Windows Media Player in my project. Works from Win7 to Win11 including events.
Example for late binding:
Private WithEvents xWMP As WMPLib.WindowsMediaPlayer
Private...
-
Windows 11 logs:
7. Drag & Drop the folder "DragDropFolder" from the desktop into folder "C:\test items":
[ST][2024-02-07 00:21:00] HandleShellNotify::code=SHCNE_EXTENDED_EVENT,itm1=,itm2=...
-
Windows 11 logs:
1. Creating a new folder in the empty folder "C:\test items" without changing the default folder name:
[ST][2024-02-06 14:02:20]...
-
Windows 10 logs:
1. Creating a new folder in a empty folder without changing the default folder name:
[ST][2024-02-06 19:47:23]...
|
Click Here to Expand Forum to Full Width
|