Navigation: thinBasic Modules > UI (User Interface) > Regions > Region_Create_FromBMP |
|
Description
Creates a window region starting from a bitmap resource and return region handle.
Syntax
hRegion = Region_Create_FromBMP(hBmp, TranColor)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
hBMP |
Number |
No |
Handle of a previously loaded bitmap |
TranColor |
Number |
No |
Color to be used for transparency. -1 means automatic. Common TranColor is magenta: RGB(255, 0, 255) or &HFF00FF |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |