05-19-2006, 11:58 PM
I want to create a front end for a media player. The media player is able to render on drawing context attached to an hwnd passed to it through the command line to allow anybody to create a frontend for it. The problem is it needs an hDC context to draw on. How do I set my control up to allow the media player (MPlayer) to access it. I have already tried using Graphics.FromHwnd(Me.Handle).GetHdc().