gui sound stop when another gui sound playes?

Ive noticed that when I click some button which has a bit long sound assigned to it and then click another one, 2 sounds play together because the 1st one hasnt finished. Can I have it so the 1st one stops when another one is played?

DirectGui doesn’t have an interface to do this, but if you manage all of the sounds yourself (via callbacks) instead of using DirectGui’s sound management, you can do it yourself.