Set volume of Win10?

Looking to create a SystemTray app that listens for a MIDI signal and then adjusts the os/system volume.

Is there a way that Xojo can programmatically change the system volume? Can you point me in the right direction? Have any sample code to, say, set the overall volume to 27 or 100 or 0?

Not directly, no. But there is code in the SystemInformationWFS section of the Windows Functionality Suite that shows how to do it using Windows declares.

1 Like