Search found 3119 matches

by BarryG
Wed Apr 03, 2024 8:26 am
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 891

Re: create icon pack windows

idle wrote: Tue Apr 02, 2024 10:31 pmoh and I updated the code
:lol: Thanks for the update.
by BarryG
Tue Apr 02, 2024 10:15 pm
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 891

Re: create icon pack windows

may you eternally eat pineapple pizza in hell Pizza with pineapple (aka "hawaiian pizza") is extremely popular here in Australia for decades, so it's always weird for me to see when people make fun of it. It's like someone making fun of someone winning the lottery; it doesn't make any sen...
by BarryG
Tue Apr 02, 2024 8:51 am
Forum: Bugs - Windows
Topic: [Done] 6.10 GetFunctionEntry error
Replies: 5
Views: 271

Re: 6.10 GetFunctionEntry error

Confirmed that it works with 6.04 but gives an error on 6.10, using Win 10 Pro (64-bit).
by BarryG
Tue Apr 02, 2024 8:31 am
Forum: Coding Questions
Topic: Incompatibilties after version 6.00
Replies: 7
Views: 388

Re: Incompatibilties after version 6.00

I initially had several issues switching from 6.04 to 6.10 with my big app (62000+ lines), but now it's all working as intended after some deep source-checking and help from users here. Your problem sounds like an easy one, though - a counter isn't working? Sounds like no big deal to fix. My app had...
by BarryG
Mon Apr 01, 2024 10:16 pm
Forum: Coding Questions
Topic: Can not trigger resizing a disabled window
Replies: 3
Views: 114

Re: Can not trigger resizing a disabled window

Martin Verlaan wrote: Mon Apr 01, 2024 5:28 pmIs there a way to trigger #PB_Event_SizeWindow with a disabled window?
I know you solved it, but for any newbies reading: just use the ResizeWindow() command.
by BarryG
Mon Apr 01, 2024 8:27 am
Forum: Off Topic
Topic: Happy Birthday, Fred!
Replies: 17
Views: 575

Re: Happy Birthday, Fred!

Happy Birthday, Fred! :D
by BarryG
Mon Apr 01, 2024 8:14 am
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 891

Re: create icon pack windows

Thanks so much, idle! But please note the recommended sizes, which your code doesn't create: Apps should have, at the bare minimum : 16x16, 24x24, 32x32, 48x48, and 256x256. This covers the most common icon sizes, and by providing a 256px icon, ensures Windows should only ever scale your icon down, ...
by BarryG
Sat Mar 30, 2024 4:54 am
Forum: Coding Questions
Topic: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04
Replies: 19
Views: 807

Re: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04

Quin wrote: Sat Mar 30, 2024 1:53 amHas this ever been verified?
I can't cite anything about it, no. But I recall years ago it was a thing.
by BarryG
Sat Mar 30, 2024 12:44 am
Forum: Coding Questions
Topic: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04
Replies: 19
Views: 807

Re: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04

Don't forget also that the smaller your exe, the more chance an anti-virus will flag it as malware. :wink: A bigger exe can be a good thing.
by BarryG
Fri Mar 29, 2024 10:44 am
Forum: Coding Questions
Topic: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04
Replies: 19
Views: 807

Re: Small exe 3.15 times bigger in PB 6.10 than in PB 6.04

Blue wrote: Fri Mar 29, 2024 4:13 amWhatever the explanation, a 3.15 times size increase ias a whopping and surprising increase !!
So don't compile it with 6.10, since you said your source hasn't changed one iota. Why recompile if it's not going to benefit from any 6.10 features?
by BarryG
Fri Mar 29, 2024 2:46 am
Forum: 3D Programming
Topic: Landscape v5
Replies: 30
Views: 8924

Re: Landscape v5

Fantastic update, but the info box at top-left doesn't show any text for me.
by BarryG
Thu Mar 28, 2024 12:19 am
Forum: Coding Questions
Topic: What is the maximum length a string variable can hold?
Replies: 15
Views: 491

Re: What is the maximum length a string variable can hold?

NicTheQuick wrote: Wed Mar 27, 2024 5:54 pmSo what's the problem? Space() or Len()?
Maybe try with LSet() and see? @Charvista, try this. If it works, then I guess Space() is the problem?

Code: Select all

p.s=LSet("",18306000000," ")
Debug Len(p.s)
by BarryG
Thu Mar 28, 2024 12:13 am
Forum: Feature Requests and Wishlists
Topic: DebugOutput window / Script line
Replies: 5
Views: 195

Re: DebugOutput window / Script line

@Demivec: When I run your code, my line numbers are offset by -2 compared to yours (below is the output). I copied your code exactly and the first line in the IDE is the ";Use macro DebugL..." comment. Did you have 2 empty lines in your IDE before your code? 7: Before Loop 9: 1 9: 2 9: 3 9...
by BarryG
Tue Mar 26, 2024 5:12 am
Forum: Tricks 'n' Tips
Topic: Determine whether to use dark or light font/drawing...
Replies: 1
Views: 153

Re: Determine whether to use dark or light font/drawing...

Thanks for sharing. :)

You inspired me to share my ListIcon gridlines color-matching tip -> https://www.purebasic.fr/english/viewtopic.php?t=83901
by BarryG
Tue Mar 26, 2024 5:11 am
Forum: Tricks 'n' Tips
Topic: ListIconGadget color-matching grid lines
Replies: 2
Views: 249

ListIconGadget color-matching grid lines

When I use gridlines with a colored ListIconGadget, the lines look horrible unless you color them to match. Here's how I do it: Procedure SetBackColorAndLines(gad,color) r=Red(color)-20 : If r<0 : r=0 : EndIf g=Green(color)-20 : If g<0 : g=0 : EndIf b=Blue(color)-20 : If b<0 : b=0 : EndIf SetGadgetC...