Question for Developers - Help find WMP bug workaround
I've found what appears to be a bug in the Windows Media Player 9 component, and google searching finds no solution to the problem.
Basically in CarBox you can switch between any 2 skins ar runtime, however I've noticed that the WMP component doesn't resize correctly. More investigation reveals that if you change the Width and Height properties of the WMP component at runtime, it seems not to tell WMP to resize within its new bounds. I'm coding in Delphi but I understand it to be the same in other languages, using the same component.
I can get it to correctly resize if I set the components parent to null before resizeing, then set it back, but that clears the status of the player.
Can anyone find a way to programatically resize a WMP component, and it size correctly? You should be able to reproduct this by dropping a WMP component on a form of choice, then create buttons to increment and decrement width and height.