Archive: FileFunc's callback - can it DetailPrint?


FileFunc's callback - can it DetailPrint?
I am using the functions in FileFunc.nsh to locate certain files. The ${Locate} function uses a callback. The callback works great.

But... when using DetailPrint to trace its activity, I can get to display it in the so called "Banner" (I hope that I understand what it means - it's that line at the top of the setup dialog box, just below the caption bar but above the progress bar, right?)

I would like to display it in the normal "Show details" window. How do I accomplish that?

I tried both Locate's options /B=0 and /B=1, to no avail.

Is this possible at all?

Thanks,
Victor


Function LocateCallback
SetDetailsPrint listonly
DetailPrint $R9
SetDetailsPrint textonly

Push $0
FunctionEnd

Originally posted by Instructor
SetDetailsPrint listonly
...
SetDetailsPrint textonly
That's what I was missing. It works great. Thanks!

Victor