Search:

Type: Posts; User: Mith

Page 1 of 12 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    3,725
    Views
    1,856,043

    TreeView Redraw not work correct

    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...
  2. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    Changes done:



    Looks good at Win11 DPI 175%:

    190462
  3. Fixed: Overlay icons are not visible

    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 =...
  4. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  5. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  6. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    Now the linked drives are visible at "This PC". Is it normal that they are not visible at "Desktop"?
  7. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    I found the problem:

    The new enum method doesnt include these kind of drives:


    lReturn = pISF.EnumObjects(0, _
    SHCONTF_CHECKING_FOR_CHILDREN Or _
    ...
  8. Drives with network shares are not displayed in the tree

    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...
  9. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  10. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  11. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  12. Replies
    3,725
    Views
    1,856,043

    Re: CommonControls (Replacement of the MS common controls)

    Agree, i had this issue several times. Don't use any 32bit icons in your project if you support Win7!
  13. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  14. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  15. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  16. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    Great, it works now! :thumb:

    The hidden AppData folder is now visible! :)

    Replace this in TVExpandFolder:



    siParent.BindToHandler 0&, BHID_EnumItems, IID_IEnumShellItems, pEnum
    ...
  17. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  18. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  19. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    Check this code to use hidden/superhidden flags:



    ...
    hr = SHCreateItemFromIDList(pidlRoot, IID_IShellItem, pISI)

    hr = pISI.BindToHandler(0, BHID_SFObject, IID__IShellFolder, pISF)...
  20. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  21. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  22. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  23. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  24. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  25. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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
    ...
  26. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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:...
  27. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    It's never easy to maintain the code of a other dev but i try my best :afrog:
  28. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  29. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    ucShellControl uses 4 SubclassProcs with different arg's:



    Public Function ShellTreeSubclassProc(ByVal hWnd As Long, _
    ByVal uMsg As Long, _
    ...
  30. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  31. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  32. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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...
  33. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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?
  34. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    ucShellTree crashes with Windows Server 2016 too:

    190423

    190424
  35. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    ucShellTree is not working with Windows Server 2012 R2 too:

    190421

    Windows crash reports:



    Problem signature:
    Problem Event Name: BEX
  36. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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:...
  37. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    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...
  38. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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=...
  39. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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]...
  40. Re: [VB6] ucShellTree - Full-featured Shell Tree UserControl

    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]...
Results 1 to 40 of 445
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width