Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: SHChangeNotify messages causing weird asych behavior

    There's no DoEvents or PeekMessage call anywhere in the entire project.

    The issue involves whether a module-level usertype already contains the file path.


    Private Sub TVAddItem(siChild As...
  2. SHChangeNotify messages causing weird asych behavior

    My code is set up to respond to messages from the shell. I'm receiving a duplicate message immediately after the other, and it's causing bizarre asynchronous behavior.

    I've got a sub that handles...
  3. Replies
    33
    Views
    578

    Re: Notorius R.B.G ... RIP

    RIP RBG. She fought the good fight for civil rights all the way to the bitter end.

    If the Republicans seat a replacement, and Democrats take back the white house and senate, it'll be high time...
  4. Re: [RESOLVED] Change the text of the Common Dialog button

    As always there's pros and cons to each approach and you should use what works best for you, but do note that typelibs are references for the IDE only. They don't need to be present after your...
  5. Replies
    2
    Views
    175

    Re: CoTaskMemFree vs ILFree

    Definitely want to be using CoTaskMemFree.

    How exactly are you using id lists? If you're creating the structure and doing manual operations on them, there's a lot more room for issues; especially...
  6. Replies
    27
    Views
    857

    Re: Presidential Debates

    So I've gotta disagree with people who think the debates won't be positive for Biden.

    Trump has been pushing hard with the narrative that Biden is senile and completely incoherent. But if you've...
  7. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Project Update: Version 8.4 R2
    High-priority Bug Fixes

    The right-click shell context menu was not returning the correct command ids for numerous items, making it take a different action than the...
  8. Replies
    1
    Views
    142

    32bit and 64bit Property Handlers?

    My ShellBrowse project allows reading/writing the properties of anything with a registered property handler shell extension that can be loaded.

    I've noticed that the vast majority of them work in...
  9. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Project Updated to Version 8.4

    I noticed a lot of room for improvement when looking at the sorting in the previous version. First, a major bug had gone unnoticed: Sorting by default columns (size,...
  10. Re: Change the text of the Common Dialog button

    With IFileDialog it's super easy:


    Dim fod As FileOpenDialog
    Set fod = New FileOpenDialog

    fod.SetOkButtonLabel "text"


    Here's my demo of all the other stuff in the interface:
  11. Re: [VB6] Dynamic Resize: Use a slider to change ListView icon/thumbnail size on the

    Just VB6.EXE.manifest; where that file is just the manifest text, not a resource file.

    That may or may not work depending on your system settings.

    If it's not working, you have two options:
    ...
  12. Replies
    5
    Views
    399

    Re: Arrows in Usercontrol

    What's the context of arrows not working here?

    I had to do some trickery to get the arrow keys to work in API-created controls on UserControls. Had to set an API timer that called a function with...
  13. Re: GDI Scaling, ImageLists, ListView

    Really at this point doesn't it become easier to use an API ImageList instead of VB's ImageList control?
  14. Re: [VB6] Dynamic Resize: Use a slider to change ListView icon/thumbnail size on the

    Does the demo work?

    (Also note that adding the resource file in the IDE means it will work when compiled, you need to insert a manifest into VB6.EXE if you want it to work running from the IDE)
  15. Including all applicable Unicode characters, what's first/last for StrCmpLogicalW?

    It's obvious to figure out what's first and last for a standard ASCI character set, but does anyone know what the StrCmpLogicalW API would consider the first and last characters in the entire set...
  16. Re: [VB6] Dynamic Resize: Use a slider to change ListView icon/thumbnail size on the

    Two possibilities:

    First, your project, and the IDE if you're running from there, need to have a manifest for Common Controls 6.0. See this project for information on how to create one.

    Second,...
  17. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Project Updated to Version 8.3 R2
    Fixed bug in sort order:

    Not sure how this was overlooked for so long, but there was a bug in the sorting algorithm for extended columns. If an item didn't have...
  18. Re: align to center the text in first column of listview

    Hmm hadn't considered that.

    Tried with a manifested 5.0 LV and got odd effects. The items centered, but selecting it... the click would only be recognized if it was where the text would appear if...
  19. Thread: Image embeds

    by fafalone
    Replies
    8
    Views
    1,205

    Re: Image embeds

    Ugh.

    178647
  20. Re: align to center the text in first column of listview

    Set it via API.


    Public Sub dbg_align()
    Dim hHdr As Long
    Dim HDI As HDITEMW
    Dim cap As String
    hHdr = SendMessage(hLVS, LVM_GETHEADER, 0&, ByVal 0&)
    cap = "column 0"
    HDI.Mask = HDI_FORMAT Or...
  21. Re: Listing all com interfaces that an object supports

    I've searched for an answer to this question before, it seems to be 'no' :cry:

    You could brute force for all the ones you care about, just cast it to IUnknown and run QueryInterface for anything...
  22. Replies
    5
    Views
    314

    Re: ID3V2.3 tag class

    After numerous attempts to get a regular ID3 encoding class to support the APIC tag (the image that gets displayed in players), I just couldn't figure it out so worked out a way to route it through...
  23. Replies
    11
    Views
    500

    Re: Repaint the NonClient area with API

    Not sure if it's what you're looking for, but if you're displaying progress you can use ITaskbarList4 to have the task bar button display a progress bar and have an overlay icon that changes:...
  24. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Version 8.3 Finalized
    Found no major issues, so posted the new version in the main post. Only changes were a small issue where in Windows 10, the '3D Objects' item in This PC for some reason reports...
  25. Re: Image embeds got replaced with a URL on VBF that doesn't exist

    The above method in Post #10 seems to be working so far, much appreciated :thumb:
  26. Thread: Image embeds

    by fafalone
    Replies
    8
    Views
    1,205

    Re: Image embeds

    Last set

    178434
    178435
  27. Thread: Image embeds

    by fafalone
    Replies
    8
    Views
    1,205

    Re: Image embeds

    This is ridiculous :(


    178429
    178430
    178431
    178432
    178433
  28. Thread: Image embeds

    by fafalone
    Replies
    8
    Views
    1,205

    Re: Image embeds

    And more

    178424
    178425
    178426
    178427
    178428
  29. Thread: Image embeds

    by fafalone
    Replies
    8
    Views
    1,205

    Re: Image embeds

    More images

    178419
    178420
    178421
    178422
    178423
  30. Replies
    2
    Views
    257

    Library 'Unknown42'??

    Found a mistake in my code today, had SendMessage hWnd, (...), but hadn't included hWnd as an argument, and it was not a public var. I would have thought such a mistake would trigger a runtime or...
  31. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Glad everything is working out, you're welcome :afrog:

    The control/code here is just pulling data through the same methods that Explorer is; I checked the Fonts folder there and combined sizes and...
  32. Replies
    31
    Views
    1,557

    Re: Custom Drawing of the ListView

    Doing it locally with ObjPtr(Me) as the reference data,
    Public Function LVWndProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal uIdSubclass As Long, ByVal...
  33. Replies
    31
    Views
    1,557

    Re: Custom Drawing of the ListView

    Well first, those regular crashes would have to actually exist. Your complaint basically seems to be everyone isn't designing their code around a scenario that can't occur in their app and isn't...
  34. Replies
    31
    Views
    1,557

    Re: Custom Drawing of the ListView

    Definitely agree but that's a rather specific scenario. I'd say yes, 90% of module-based subclassing code indeed isn't designed around that use case unless the application actually is subclassing...
  35. Replies
    31
    Views
    1,557

    Re: Custom Drawing of the ListView

    Can you clarify exactly how a setup you're talking about is structured, because this seems unlike 90% of the subclassing code I've seen. It seems like you're talking about just forwarding messages...
  36. Replies
    31
    Views
    1,557

    Re: Custom Drawing of the ListView

    Why's that? Especially since 'beyond repair' I'd have to assume you mean you couldn't just put it in a global variable either. I've never had problems here.
  37. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    It's certainly possible to do, but the control as is isn't set up for that.
  38. Re: border a single item on mousmove event in listview

    Actually here, I was bored.

    This project does highlighting both on click and on mouseover. On mouseover is a little flickery, I tried to minimize it by redrawing only the last and current item, so...
  39. Re: border a single item on mousmove event in listview

    It's really not that hard to subclass and do custom colors. Here's an old demo by Brad Martinez:
    178104

    I'd recommend a newer subclassing method, e.g. the one in my sig, all you need to worry...
  40. Replies
    35
    Views
    1,942

    Re: codesign + dragdrop/IDropTarget + UAC

    Indeed, if certs were free I'd play around with it, but yeah.

    I don't think it will work even if you manually add a local authority to self sign, will it?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width