ContextMenu of WindowsMedia Player

S

santel

Hi,

I used WindowsMediaPlayer control in C# forms. Instead of displaying
the WMP's standard context menu, I would like to add my custom context
menu. Can anyone please suggest
 
N

Nicholas Paldino [.NET/C# MVP]

santel,

You might be able to get away with overriding the WndProc method on the
control and handling the WM_CONTEXTMENU message, choosing to do what you
wish with it.

If that doesn't get the messages for the child windows, then you can
always create a message filter and then just make sure that the window
handle that the message is going to is a child of the media player.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top