Non-Rectangular Resizable Form like Microsft Media Player

  • Thread starter Michael Drake-Brockman
  • Start date
M

Michael Drake-Brockman

Does anyone know how to create a winforms app similar to Microsft Media
Player. I can create a form that has a background bitmap and a transparency
color, thus creating a no rectangular form but how do they handle the
resizing of the form without stretching the background bitmap. Also media
player can switch back to a standard resizable window with a border. How is
this done?

Any info or example code would be appreciated

Thanks


MDB
 
A

Arne Janning

Michael said:
Does anyone know how to create a winforms app similar to Microsft Media
Player. I can create a form that has a background bitmap and a transparency
color, thus creating a no rectangular form but how do they handle the
resizing of the form without stretching the background bitmap. Also media
player can switch back to a standard resizable window with a border. How is
this done?

Any info or example code would be appreciated

Hi Michael,

have a look at

RegionMaster Controls
http://windowsforms.net/articles/usingregionmastercontrols.aspx

MSDN TV episode on Region master controls.
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20040401WinFormsMH/manifest.xml


Shaped Windows Forms and Controls in Visual Studio .NET
http://msdn.microsoft.com/library/e...apedWindowsFormsControlsInVisualStudioNET.asp

Cheers

Arne Janning
 

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

Similar Threads


Top