85 lines
3.7 KiB
HTML
85 lines
3.7 KiB
HTML
<html>
|
||
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
|
||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||
|
||
<link rel="stylesheet" type="text/css" href="api.css">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<title></title>
|
||
|
||
|
||
|
||
<meta name="Microsoft Theme" content="glacier 111, default"><meta name="Microsoft Border" content="tb, default"></head>
|
||
|
||
<body leftmargin="44" background="../_themes/glacier/glabkgnd.jpg" bgcolor="#CCFFFF" text="#000000" link="#339999" vlink="#999999" alink="#406666"><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><!--mstheme--><font face="arial, arial, helvetica">
|
||
|
||
|
||
|
||
<!--mstheme--></font></td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top"><!--mstheme--><font face="arial, arial, helvetica"><!--mstheme--></font><table border="0" width="700" cellspacing="0" cellpadding="0">
|
||
<tr>
|
||
<td width="5%" valign="middle"><!--mstheme--><font face="arial, arial, helvetica"><img border="0" src="../images/Core.gif" width="32" height="32"><!--mstheme--></font></td>
|
||
<td width="95%" valign="middle"><!--mstheme--><font face="arial, arial, helvetica"><h1><!--mstheme--><font face="verdana, arial, helvetica" color="#006666">SetGadgetFill<!--mstheme--></font></h1>
|
||
<h2><!--mstheme--><font face="verdana, arial, helvetica" color="#006666">Core<!--mstheme--></font></h2>
|
||
<!--mstheme--></font></td>
|
||
</tr>
|
||
</table><!--mstheme--><font face="arial, arial, helvetica">
|
||
<dl>
|
||
<p><b>SetGadgetFill</b> specifies an optional brush to fill the Gadget's background with when drawing. The background will be filled before the
|
||
Gadget is given the GM_PAINT message to draw.</p>
|
||
</dl>
|
||
<!--mstheme--></font><pre>BOOL <b>SetGadgetFill</b>(
|
||
<b>HGADGET</b> hgadChange, // Gadget to change
|
||
<b>HBRUSH</b> hbrFill, // Brush to fill with or NULL to remove
|
||
<b>BYTE</b> bAlpha, // Alpha level to apply brush
|
||
<b>int</b> w, // brush width
|
||
<b>int</b> h // brush height
|
||
);</pre><!--mstheme--><font face="arial, arial, helvetica">
|
||
<h4><!--mstheme--><font face="verdana, arial, helvetica" color="#006666">Parameters<!--mstheme--></font></h4>
|
||
<dl>
|
||
<dt><i>hgadChange</i></dt>
|
||
<dd>[in] Gadget to change</dd>
|
||
</dl>
|
||
<dl>
|
||
<dt><i>hbrFill</i></dt>
|
||
<dd>[in] Brush to fill with or NULL to remove</dd>
|
||
</dl>
|
||
<dl>
|
||
<dt><i>bAlpha</i></dt>
|
||
<dd>[in] Alpha level to apply brush</dd>
|
||
</dl>
|
||
<dl>
|
||
<dt><i>w</i></dt>
|
||
<dd>[in] Optional width of brush when alpha-blending or 0 for default</dd>
|
||
</dl>
|
||
<dl>
|
||
<dt><i>h</i></dt>
|
||
<dd>[in] Optional height of brush when alpha-blending or 0 for default</dd>
|
||
</dl>
|
||
<h4><!--mstheme--><font face="verdana, arial, helvetica" color="#006666">Return Values<!--mstheme--></font></h4>
|
||
<p>Fill was successfully set.</p>
|
||
<h4><!--mstheme--><font face="verdana, arial, helvetica" color="#006666">See Also<!--mstheme--></font></h4>
|
||
<dl>
|
||
<p><b>UtilDrawBlendRect</b>, GM_PAINT
|
||
</dl>
|
||
<!--mstheme--></font><!--msnavigation--></td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><!--mstheme--><font face="arial, arial, helvetica">
|
||
|
||
<p align="center">
|
||
|
||
<p align="center" style="border-top-style: solid; border-top-width: 2"><b><font color="#FF0000" size="3"><br>
|
||
Internal Only</font></b><p align="center">Build on Thursday, March 16, 2000
|
||
<br>
|
||
Copyright <20> 2000 by Microsoft Corporation. All rights reserved<br>
|
||
<a href="mailto:jstall">Send feedback </a>to Jeff Stall
|
||
|
||
<!--mstheme--></font></td></tr><!--msnavigation--></table></body>
|
||
</html>
|