You might want to look at the msgcolor sample from MSDN.
It shows how to hook into message boxes and change their
color and fonts and there *might* be a way to specify
the sound event also. It's written in C so I hope you
can handle it.
For some real amusement, check out the message-map
dispatching code in the MFC source. There is x86
assembly for when portability is not defined.
