I am attempting to get an overlay device to display it's contents on a panel
I create. I think I've tried about everything. Using the sample code
provided, doesn't work. The device will open and I can hear the audio but
the picture will not show. If I use mciSendString("Window deviceID" etc) it
will display in it's own window. I added a TMediaPlayer to my form and then
attempt to use the following code when a button is pressed but no luck.
wintv->DeviceType = dtOverlay;
wintv->Display = Panel1;
wintv->DisplayRect = MyRect(0,0,Panel1->Width,Panel1->Height);
I've even tried adding wintv->Play(); but nothing seems to work. Any ideas?