Page 3 of 5
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 9:41 am
by Quin
DarkDragon wrote: Mon Jul 22, 2024 6:51 am
Yeah you actually have to understand your own code. Or you could do unit testing. Wasn't there some PureUnit or so somewhen?
There still is, in PureBasic_install_dir/SDK/PureUnit. It works quite nicely, and I use it to unit test all my libraries. Fred also posted an
interesting blog post about how they use it within the PureBasic internals.
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 9:57 am
by BarryG
AZJIO wrote: Mon Jul 22, 2024 7:03 amI didn’t say that it needs to be removed or replaced.
True. I badly assumed that's what you were saying to do. Sorry!
AZJIO wrote: Mon Jul 22, 2024 7:03 amI don't think you have a thousand variables.
I think my main app has probably close to that.

Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 10:08 am
by Quin
BarryG wrote: Mon Jul 22, 2024 9:57 am
AZJIO wrote: Mon Jul 22, 2024 7:03 amI don't think you have a thousand variables.
I think my main app has probably close to that.
Me too, for better or worse

Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 5:57 pm
by Randy Walker
AZJIO wrote: Mon Jul 22, 2024 6:31 am
Do a search for ".l" in your code, what's the problem?
Do you really think that will fix
all compatibility issues, from 5.40 up to 6.11?
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 6:06 pm
by Randy Walker
BarryG!!!!

You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 7:53 pm
by Quin
Randy Walker wrote: Mon Jul 22, 2024 5:57 pm
AZJIO wrote: Mon Jul 22, 2024 6:31 am
Do a search for ".l" in your code, what's the problem?
Do you really think that will fix
all compatibility issues, from 5.40 up to 6.11?
I've seen many topics just like this one from people with weird bugs in PB 6.1x, like the mouse wheel not working, or this. Every time, the solution has been longs instead of ints in the wrong place (to be clear LONGS ARE STILL NEEDED sometimes when calling the Windows API). I'd say there's a good chance at least, yes.
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 7:54 pm
by Quin
Randy Walker wrote: Mon Jul 22, 2024 6:06 pm
BarryG!!!!

You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
Are you perhaps talking about
this? It's in CHM format and not the most up-to-date ,but I use it when writing BCX code
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 9:18 pm
by Randy Walker
Quin wrote: Mon Jul 22, 2024 7:53 pm
Randy Walker wrote: Mon Jul 22, 2024 5:57 pm
AZJIO wrote: Mon Jul 22, 2024 6:31 am
Do a search for ".l" in your code, what's the problem?
Do you really think that will fix
all compatibility issues, from 5.40 up to 6.11?
I'd say there's a good chance at least, yes.
So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?

I don't think so. Simple for you to move your code into a newer release, maybe, but not simple for me.
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 9:36 pm
by Quin
Randy Walker wrote: Mon Jul 22, 2024 9:18 pm
So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?

I don't think so. Simple for you to move your code into a newer release, maybe, but not simple for me.
No, changing the type of a variable won't fix all your code... but this topic was about a
"bug" that's fixable by doing so, and we've never seen your source code so have no idea what keywords you use

Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 10:05 pm
by Randy Walker
Quin wrote: Mon Jul 22, 2024 9:36 pm
Randy Walker wrote: Mon Jul 22, 2024 9:18 pm
So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?

I don't think so. Simple for you to move your code into a newer release, maybe, but not simple for me.
No, changing the type of a variable won't fix all your code... but this topic was about a
"bug"
I don't recall or see any evidence that I mentioned anything about
"a bug". Maybe you can point that out to me.
Re: ListIconGadget was working fine now is blank/empty
Posted: Mon Jul 22, 2024 10:28 pm
by Randy Walker
Quin wrote: Mon Jul 22, 2024 7:54 pm
Randy Walker wrote: Mon Jul 22, 2024 6:06 pm
BarryG!!!!

You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
Are you perhaps talking about
this? It's in CHM format and not the most up-to-date ,but I use it when writing BCX code
No, that's not it. I suppose I should have posted this link earlier for reference. (must have been thinking your memory was more peefect than mine

) You ended up providing a perfect fix.
https://www.purebasic.fr/english/viewto ... t=win32hlp
You described it as "a batch file that you run as admin, and includes the original "winhlp32.exe" file"
Re: ListIconGadget was working fine now is blank/empty
Posted: Tue Jul 23, 2024 1:12 am
by Randy Walker
Randy Walker wrote: Mon Jul 22, 2024 4:28 am
mk-soft wrote: Sat Jul 20, 2024 11:11 am
I think it's more likely that it's the Windows API you're using that works differently under Win 11.
Which API did you use? It will not be due to the PureBasic functions.
Similar comments appear several times so I just want to make it clear. First lets look at the subject line; "
ListIconGadget was working fine now is blank/empty" -- No mention of API there. I was speculating that ListIconGadget was a wrapper for a Windows API -- I did not say I was using a Windows API. In fact I did say I had used the ListIconGadget keyword. And later even posted the entire line as seen again here;
Code: Select all
CustList0.l = ListIconGadget(#CustList_0, 5, 33, lastLook_wW.l - 7 - SM_CXtotal, lastLook_wH.l - 344 - SM_CYtotal, " Parent Co.", Col0_0, #PB_ListIcon_FullRowSelect | #PB_ListIcon_AlwaysShowSelection | #PB_ListIcon_GridLines | #PB_ListIcon_MultiSelect)
I did say I thought maybe the PB wrapper for the windows API or the API itself got broken. Again,
no mention of any bug.
I also said thanks for reading.

Re: ListIconGadget was working fine now is blank/empty
Posted: Tue Jul 23, 2024 1:44 am
by BarryG
Randy Walker wrote: Mon Jul 22, 2024 6:06 pmBarryG!!!!

You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
Updated the link for you ->
https://www.purebasic.fr/english/viewto ... 05#p602705
I don't know where else to host it online permanently.

Re: ListIconGadget was working fine now is blank/empty
Posted: Tue Jul 23, 2024 2:33 am
by Randy Walker
BarryG wrote: Tue Jul 23, 2024 1:44 am
Randy Walker wrote: Mon Jul 22, 2024 6:06 pmBarryG!!!!

You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
Updated the link for you
I don't know where else to host it online permanently.
Thanks BarryG!!! You saved my life
again 
Sorry I can't recommend a permanent hoster.
Re: ListIconGadget was working fine now is blank/empty
Posted: Tue Jul 23, 2024 2:44 am
by Randy Walker
BarryG !!! I'm lost

Unfortunately the bat file didn't do the trick this time. My F1 key in JaPBe on an API command still does not bring up help.