Good time, all !
Thank you very much for your participation !
RASHAD , I understand what you mean, but I'm a little confused by the timer that runs all the time and is set for such a short time. Overheads ? Yes, your code is more universal and does not require additional configuration for the ...
Search found 361 matches
- Tue May 13, 2025 4:03 pm
- Forum: Coding Questions
- Topic: [Solved] How to catch language change in EditorGadget
- Replies: 10
- Views: 819
- Mon May 12, 2025 6:07 pm
- Forum: Coding Questions
- Topic: [Solved] How to catch language change in EditorGadget
- Replies: 10
- Views: 819
Re: How to catch language change in EditorGadget
RASHAD
AZJIO
thank you both !
I couldn't come up with anything smarter than the code below. But first I would like to take this opportunity to thank RASHAD for his many well-written and concise code snippets on this forum. I couldn't have done it without your bricks. Thanks a lot !
On my ...
AZJIO
thank you both !
I couldn't come up with anything smarter than the code below. But first I would like to take this opportunity to thank RASHAD for his many well-written and concise code snippets on this forum. I couldn't have done it without your bricks. Thanks a lot !
On my ...
- Sun May 11, 2025 12:55 pm
- Forum: Coding Questions
- Topic: [Solved] How to catch language change in EditorGadget
- Replies: 10
- Views: 819
[Solved] How to catch language change in EditorGadget
Hi all.
How can I make EditorGadget always set to English only ?
It is clear that you can find out the system key combination for changing the language and wait for this event, but... As we know... there are several ways to change the input language. For example, from the system tray or... even ...
How can I make EditorGadget always set to English only ?
It is clear that you can find out the system key combination for changing the language and wait for this event, but... As we know... there are several ways to change the input language. For example, from the system tray or... even ...
- Sun May 11, 2025 11:23 am
- Forum: Coding Questions
- Topic: Detect if sound card is present/enabled?
- Replies: 4
- Views: 526
Re: Detect if sound card is present/enabled?
@BarryG
I suggest you try the following:
enumerate hardware devices
P.S. If the hardware is not present in the system, then this should work and it is obvious.
P.S.2. Also you can use the console utility, known as 'devcon.exe'. Be careful, it has two different version (x86 _n_ x64).
I suggest you try the following:
enumerate hardware devices
P.S. If the hardware is not present in the system, then this should work and it is obvious.
P.S.2. Also you can use the console utility, known as 'devcon.exe'. Be careful, it has two different version (x86 _n_ x64).
- Sun May 04, 2025 6:42 pm
- Forum: Coding Questions
- Topic: Enumerate the addresses of all labels in the DataSection
- Replies: 10
- Views: 750
Re: Enumerate the addresses of all labels in the DataSection
AZJIO , breeze4me , thanks for your answers.
RASHAD 's code is concise and simple.
This way I got a more compact notation:
EnableExplicit
UsePNGImageDecoder()
Define hGUI, w, h, Counter, id_img
Define imageBuffer, img
DataSection
IncludePath "images" + #PS$
p1: :IncludeBinary "1.png"
p2 ...
RASHAD 's code is concise and simple.
This way I got a more compact notation:
EnableExplicit
UsePNGImageDecoder()
Define hGUI, w, h, Counter, id_img
Define imageBuffer, img
DataSection
IncludePath "images" + #PS$
p1: :IncludeBinary "1.png"
p2 ...
- Sat May 03, 2025 6:19 pm
- Forum: Coding Questions
- Topic: Enumerate the addresses of all labels in the DataSection
- Replies: 10
- Views: 750
Re: Enumerate the addresses of all labels in the DataSection
mk-soft, glad to see you here.
My question was born when I looked at this topic. And yes, I think it's unprofessional (AZJIO, I'm sorry).
My question was born when I looked at this topic. And yes, I think it's unprofessional (AZJIO, I'm sorry).
Yeah, it could be one archive file. But I wonder if there is a solution to my original question ?I'm sure there's another solution.
- Sat May 03, 2025 5:23 pm
- Forum: Coding Questions
- Topic: Enumerate the addresses of all labels in the DataSection
- Replies: 10
- Views: 750
Enumerate the addresses of all labels in the DataSection
Hi everyone.
My question is in the topic title. I want to avoid having to force each label to be specified, like ?Label1, ?Label2, etc., but enum them all. More precisely, get all their addresses.
Is it possible ?
My question is in the topic title. I want to avoid having to force each label to be specified, like ?Label1, ?Label2, etc., but enum them all. More precisely, get all their addresses.
Is it possible ?
- Thu Sep 05, 2024 2:11 pm
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
Re: Events in system tray
TI-994A, thanks a lot !
Yes, everything is much clearer now. Sorry for not being attentive enough.
You're absolutely right about the thread. Thanks for your detailed comments.
Yes, everything is much clearer now. Sorry for not being attentive enough.

You're absolutely right about the thread. Thanks for your detailed comments.
- Thu Sep 05, 2024 9:13 am
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
Re: Events in system tray
@ TI-994A
The message requester is blocking the subsequent clicks from being processed, and those clicks are being processed only after the message requester is dismissed...
I'm very sorry, but why in my second code these clicks are not processed when the message is closed ? After all, in your ...
The message requester is blocking the subsequent clicks from being processed, and those clicks are being processed only after the message requester is dismissed...
I'm very sorry, but why in my second code these clicks are not processed when the message is closed ? After all, in your ...
- Thu Sep 05, 2024 8:57 am
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
Re: Events in system tray
RASHAD , mk-soft , thank you for your attention to my question.
RASHAD , yes, I know about the SplashMessage. You already published this, if my memory serves me correctly. Thanks for this. But in this case it is not entirely appropriate here. In addition, this does not prevent multiple messages ...
RASHAD , yes, I know about the SplashMessage. You already published this, if my memory serves me correctly. Thanks for this. But in this case it is not entirely appropriate here. In addition, this does not prevent multiple messages ...
- Wed Sep 04, 2024 12:52 pm
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
Re: Events in system tray
Hello, TI-994A.
Thanks for the clarification. Your code works too.
Thanks for the clarification. Your code works too.
- Wed Sep 04, 2024 12:45 pm
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
Re: Events in system tray
Axolotl , good time ! Thanks for your answer.
I am pretty sure that you can solve your problem by separating the events like this code below.
I don't think that's the issue here. I think I've found a solution. Is this normal practice ?
Global thread
Procedure PopupMsg(*x)
MessageRequester ...
I am pretty sure that you can solve your problem by separating the events like this code below.
I don't think that's the issue here. I think I've found a solution. Is this normal practice ?
Global thread
Procedure PopupMsg(*x)
MessageRequester ...
- Wed Sep 04, 2024 11:41 am
- Forum: Coding Questions
- Topic: [SOLVED] Events in system tray
- Replies: 10
- Views: 1523
[SOLVED] Events in system tray
Hi, all.
Sorry if this is a dumb question and if I missed this, but I can't seem to find a solution. My question sound as:
How can I forcefully clear the event queue ? I'm getting a lot of mouse click events in the main loop when I click on an icon multiple times. That's ok, but I need only one ...
Sorry if this is a dumb question and if I missed this, but I can't seem to find a solution. My question sound as:
How can I forcefully clear the event queue ? I'm getting a lot of mouse click events in the main loop when I click on an icon multiple times. That's ok, but I need only one ...
- Sat Aug 24, 2024 8:37 pm
- Forum: Tricks 'n' Tips
- Topic: Resolution-Independent Window
- Replies: 4
- Views: 1364
Re: Resolution-Independent Window
TI-994A , good time !
Thanks for sharing.
I can't say how it's correct, but in one of my old programs I did something like this:
Structure WinProp
x.i
y.i
w.i
h.i
EndStructure
Global dpi.d = GetDeviceCaps_(GetDC_(0),#LOGPIXELSX)/120
Define wflags.i
Define MainWindow.WinProp
...
wflags ...
Thanks for sharing.
I can't say how it's correct, but in one of my old programs I did something like this:
Structure WinProp
x.i
y.i
w.i
h.i
EndStructure
Global dpi.d = GetDeviceCaps_(GetDC_(0),#LOGPIXELSX)/120
Define wflags.i
Define MainWindow.WinProp
...
wflags ...
- Thu Aug 22, 2024 3:09 pm
- Forum: Coding Questions
- Topic: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
- Replies: 13
- Views: 2269
Re: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
Peter , thank you very much again for the results of your testing. I thought so. Now I'm thinking about how I can combine these two device property requests to ultimately get exactly the same picture as in the device manager. I would like to avoid unnecessary steps (request it twice). But I think ...