Announcement

Collapse
No announcement yet.

How to use lpszProgressTitle in SHFILEOPSTRUCT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Egbert Zijlema
    replied
    Thanks Jules,

    It works. It did work actually, but I misunderstood Win32.hlp.
    It does not create a header for the confirmation dialog (the one with: "do you want to delete...?"), but a text of your own in the progress bar that only appears when deleting/copying multiple files.
    See also: the SHFILEOPSTRUCT discussion in this thread.


    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/

    Leave a comment:


  • Jules Marchildon
    replied
    Just quickly...

    TYPE SHFILEOPSTRUCT
    ...
    lpszProgressTitle AS ASCIIZ PTR 'only used if FOF_SIMPLEPROGRESS
    END TYPE

    DIM sh AS SHFILEOPSTRUCT

    sh.lpszProgressTitle = VarPtr(Text)

    Regards,
    Jules

    [This message has been edited by Jules Marchildon (edited February 07, 2001).]

    Leave a comment:


  • How to use lpszProgressTitle in SHFILEOPSTRUCT

    Fellows,

    Does anybody know how to use "lpszProgressTitle" in SHFILEOPSTRUCT?
    In Win32Api.inc it is defined as an ASCIIZ PTR. I don't know how to handle it.

    Its purpose is to create an own dialog header when sending files to the recycle bin.

    Semen, perhaps?

    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/
Working...
X