PDA

View Full Version : Creating a Non-Rectangular Window


Desmond
10-03-2003, 01:40 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Creating a Non-Rectangular Window</h3> <b>Document ID: IR10079</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to create a non-rectangular window shape for your application.</p> <h3>DISCUSSION</h3> <p>If a normal rectangular window is unsuitable for your project, it is possible to create a custom shaped window. To accomplish this in AutoPlay Media Studio 5.0 first create a transparency mask.<br> <br> To create a transparency mask:</p> <ol> <li>Create an image that has the same dimensions as your project.<br> <br> </li> <li>Now draw the window shape you want. Whatever you want visible make white, whatever you want hidden, make black.<br> <br> </li> <li>Save your image as a png image file.<br> <br> </li> <li>Once the mask is created, in AutoPlay click Project, then Window Settings. Click on Custom Mask, and select your image. Now on runtime, your project will take the shape of your mask.</li> </ol> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Projects | Window Settings | Appearance</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Project, Mask, Window, Shape </p> <hr> <FONT SIZE=1> Last reviewed: October 3, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>