 white.</td>
</tr>
</tbody>
</table>
<h1 id="constructor(resource-file)"><a name="Constructor3"></a>Constructor(Resource File)</h1>
<p>Creates a memory bitmap of the same size that the specified image to load from a resource file. It also allows to convert the image to gray scale and/or dim the image.</p>
<pre><code>CONSTRUCTOR CMemBmp (BYVAL hInst AS HINSTANCE, BYREF wszImageName AS WSTRING, BYVAL dimPercent AS LONG = 0, _
   BYVAL bGrayScale AS LONG = FALSE, BYVAL clrBackground AS ARGB = 0) AS HANDLE
</co