Search found 3095 matches
- Tue Mar 19, 2024 6:48 am
- Forum: Windows
- Topic: Refresh Web Page
- Replies: 3
- Views: 69
Re: Refresh Web Page
Glad to hear it!
- Tue Mar 19, 2024 4:50 am
- Forum: Windows
- Topic: Refresh Web Page
- Replies: 3
- Views: 69
Re: Refresh Web Page
I'd use PostEvent() from inside the thread then, to simulate the button event.IdeasVacuum wrote: ↑Tue Mar 19, 2024 4:27 amWorks OK outside of the thread (via a button event for example)
From what I've always read here, you're not supposed to update gadgets from inside a thread.
- Mon Mar 18, 2024 10:41 am
- Forum: Coding Questions
- Topic: I need native image drawn on a ButtonGadget
- Replies: 7
- Views: 259
Re: I need native image drawn on a ButtonGadget
That was just a link to someone else's code. No PayPal needed.
- Mon Mar 18, 2024 2:58 am
- Forum: Coding Questions
- Topic: I need native image drawn on a ButtonGadget
- Replies: 7
- Views: 259
Re: I need native image drawn on a ButtonGadget
It's as simple as this -> https://www.purebasic.fr/english/viewto ... 02#p542202
- Mon Mar 18, 2024 2:51 am
- Forum: Off Topic
- Topic: The US government asks not to use C/C++ due to memory vulnerabilities.
- Replies: 10
- Views: 343
Re: The US government asks not to use C/C++ due to memory vulnerabilities.
Sounds like the perfect marketing opportunity for Fred: praise the benefits of coding in BASIC instead of C/C++, because he can truthfully advertise that BASIC isn't part of the US government's concerns! Always a silver lining.
- Mon Mar 18, 2024 2:04 am
- Forum: Off Topic
- Topic: Risks and Benefits
- Replies: 7
- Views: 631
Re: Risks and Benefits
I had the "0x80070643" update error the other day and Windows kept saying it'd try again. I did nothing about it (literally; I didn't resize any partition or try to manually update again) and now the error's gone and my PC is updated. Go figure. Win 10 Pro.
- Fri Mar 15, 2024 6:21 am
- Forum: Coding Questions
- Topic: Installing 6.10 betas always complains about McAfee running
- Replies: 9
- Views: 279
Re: Installing 6.10 betas always complains about McAfee running
I used to turn off cloud-delivered too, but then realized I need to experience what my users are going to experience. No point in me putting my head in the sand and pretending all's well when my users are getting cloud-delivered warnings.
- Fri Mar 15, 2024 6:19 am
- Forum: Coding Questions
- Topic: Fading a sound's volume using MiniAudio
- Replies: 9
- Views: 315
Re: Fading a sound's volume using MiniAudio
From what I could see, that doesn't provide an easy way to gradually change the volume like MiniAudio seems to, because there's no way to query the current volume :( But it's your app, so you've set the volume and would know the current volume level. Or are you talking about controlling the volume ...
- Fri Mar 15, 2024 3:56 am
- Forum: Coding Questions
- Topic: Fading a sound's volume using MiniAudio
- Replies: 9
- Views: 315
- Fri Mar 15, 2024 2:08 am
- Forum: General Discussion
- Topic: WebGadget vs WebViewGadget
- Replies: 2
- Views: 194
WebGadget vs WebViewGadget
Why two gadgets? Don't they both do the same thing (display a web page)? When should I be using one instead of the other? So confusing.
- Fri Mar 15, 2024 1:51 am
- Forum: Feature Requests and Wishlists
- Topic: case statements can have the same values?
- Replies: 17
- Views: 439
Re: case statements can have the same values?
PB is a single pass compiler, here is a simpler example: Select 2 Case 1 Debug "Value = 1" Case 2 Debug "Value = 20" Case 2 Debug "Value = 2" Default Debug "I don't know" EndSelect PureBasic is a top-down single-pass compiler that uses short-circuit evaluatio...
- Fri Mar 15, 2024 1:46 am
- Forum: Bugs - Windows
- Topic: [Done] Icon in tray disappears after restart of the explorer
- Replies: 17
- Views: 693
Re: [Done] Icon in tray disappears after restart of the explorer
I still have to register the message for callback use because my app does more than just restore the icons when Explorer dies: it has to reset some other internal things to do with those icons as well. So now I'm using Beta 8 and letting it re-add the icons to the tray, but still use a callback to d...
- Thu Mar 14, 2024 12:15 pm
- Forum: Bugs - Windows
- Topic: [Done] Icon in tray disappears after restart of the explorer
- Replies: 17
- Views: 693
Re: [Done] Icon in tray disappears after restart of the explorer
Not as a standalone snippet, no. Don't worry about it for now, I'll do some heavy testing to make sure it all works. You have to remember that it's not just about restoring the icons; my code runs a procedure (shown above) for all tray icons when "explorer.exe" dies, so I still have to use...
- Thu Mar 14, 2024 9:01 am
- Forum: Feature Requests and Wishlists
- Topic: Delete PureBasic_Compilation0.exe after Run from the Temp file.
- Replies: 10
- Views: 472
Re: Delete PureBasic_Compilation0.exe after Run from the Temp file.
Sounds like you're not re-compiling after commenting the lines, and just running the last compiled version.
- Thu Mar 14, 2024 8:09 am
- Forum: Coding Questions
- Topic: Strange characters in shared code
- Replies: 8
- Views: 152
Re: [Done] Strange characters in shared code
It was in the body of an email (Gmail). Not an attachment. I just copied the email text, pasted it into the IDE, and tried to compile it. Syntax error. So yeah, probably Gmail broke it. Here's how it looks in Gmail, and how I copied it. You'd assume you could just paste that into the IDE and run it,...