ContextMenu of WindowsMedia Player

  • Thread starter Thread starter santel
  • Start date Start date
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
 
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.
 
Back
Top