Page 2 of 2

Re: Filterbar in a ListIcon Header EXAMPLE

Posted: Sun Feb 02, 2020 10:26 pm
by nicolaus
camille wrote:Regarding Flypes code from here: viewtopic.php?p=149777#p149777
The line highlighted in the PB gui is:

Code: Select all

CallFunctionFast(GetProp_(hwnd, "USER_HPROC"), filter\pszText, *lParam\iItem)
I've tried to compile it with PB 5.72 LTS Beta 1 (x64).

Does anybody know how to fix it?
You have to change this line from

Code: Select all

CallFunctionFast(GetProp_(hwnd, "USER_HPROC"), filter\pszText, *lParam\iItem)
to

Code: Select all

CallFunctionFast(GetProp_(hwnd, "USER_HPROC"), @filter\pszText, *lParam\iItem)
and it will work (i haven't tried it but i think this is it)

br,
Nico

Re: Filterbar in a ListIcon Header EXAMPLE

Posted: Mon Feb 03, 2020 8:57 am
by camille
Thank you, nicolaus!

It works fine after the change :D

Re: Filterbar in a ListIcon Header EXAMPLE

Posted: Mon Feb 03, 2020 12:11 pm
by srod
Change to :

Code: Select all

CallFunctionFast(GetProp_(hwnd, "USER_HPROC"), @filter\pszText, *lParam\iItem)
**EDIT : too slow! :)