Controlling volume in ActiveX
I am building an ActiveX control that hosts a browser COM control. I would like to be able to programmatically (from my ActiveX C++ code) control the sound volume of the embedded IE control.
I thought if I could get an IAudioClient interface from the web browser control, I could get its ISimpleAudioVolume, and that would allow me to control the sound volume. I have tried several ways to get the IAudioClient interface from the web browser control to no avail. I have even tried to get it from the IHTMLDocument. At this point, I am not sure what else to try…
Do you have any suggestions? I am on the right track for the approach? How could I obtain the IAudionClient interface from the Web Browser COM control?

