Search found 3112 matches

by BarryG
Wed Apr 10, 2024 1:35 pm
Forum: Windows
Topic: Detect if a window has curved corners?
Replies: 6
Views: 218

Re: Detect if a window has curved corners?

Thanks guys, I'll do some testing to see which suits best. :)
by BarryG
Tue Apr 09, 2024 8:10 am
Forum: Windows
Topic: Detect if a window has curved corners?
Replies: 6
Views: 218

Detect if a window has curved corners?

Hi guys. I'm testing my app on Win 11 and of course it's thrown me a curve ball because Win 11 has stupid curved window corners now. :( So, my app draws a nice line across the top of any given third-party window, which now looks stupid because the start and end of the line is not above anything anym...
by BarryG
Sun Apr 07, 2024 1:28 am
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 480

Re: Keep same CurrentDir if run from taskbar

Yes, "GetPathPart(ProgramFilename())" is the ONLY way you should get your app's folder. Not GetCurrentDirectory() because that's changable.
by BarryG
Sat Apr 06, 2024 2:09 am
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 877

Re: create icon pack windows

Here's a famous comedy skit from an Australian TV show where he mentions Hawaiian pizza -> https://www.youtube.com/watch?v=LJtNHs4BfYg

It's not a skit about pizzas, but it's well worth spending the 4 minutes to watch this; it's gold! Especially the bit about folding up. :D
by BarryG
Fri Apr 05, 2024 12:03 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 480

Re: Keep same CurrentDir if run from taskbar

I fail to understand why MS defines the current directory with the application path, when calling from File explorer but defines it with %windir%\System32, if launched from taskbar explorer. See here (I think it explains it?) -> https://stackoverflow.com/questions/18727692/what-is-the-difference-be...
by BarryG
Fri Apr 05, 2024 8:29 am
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 480

Re: Keep same CurrentDir if run from taskbar

Don't see how this is related to Purebasic. It's not. GetCurrentDirectory() is a wrapper to the API command GetCurrentDirectory_() on Windows, so it shouldn't be changed. What ChrisR needs to do to fix his problem, is use AZJIO's solution and not change an existing command, which frankly would brea...
by BarryG
Thu Apr 04, 2024 8:22 am
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 480

Re: Keep same CurrentDir if run from taskbar

Just so you know... GetCurrentDirectory() is NOT used to know where your exe is run from. It's used as a WORKING directory, which is why SetCurrentDirectory() can change it. So, no, I wouldn't want this command to be changed from its correct behavior.
by BarryG
Wed Apr 03, 2024 11:07 am
Forum: Coding Questions
Topic: Using ListIconGadget with #PB_ListIcon_ColumnAlignment
Replies: 3
Views: 145

Re: Using ListIconGadget with #PB_ListIcon_ColumnAlignment

What is the recommendet value for "Item" in SetGadgetItemAttribute()? Is it #PB_Ignore, #PB_Any or what? "Item" seems to have no relevance. The manual says: "The 'Item' parameter is ignored" , so it can be literally anything. I personally use #PB_Ignore so I remember i...
by BarryG
Wed Apr 03, 2024 8:26 am
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 877

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: 877

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: 268

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: 384

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: 568

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: 877

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, ...