API函数详解:LOGBRUSH函数

类型定义
Type LOGBRUSH ' 12 Bytes
lbStyle As Long
lbColor As Long
lbHatch As Long
End Type
Windows API函数功能说明
Data structure used to define a logical brush. The actual physical brush will depend on the capabilities of the device.
字段表
字段类型与说明
lbStyleLong,One of the following constants:BS_DIBPATTERN, BS_DIBPATTERN8X8, BS_DIBPATTERNPT: A pattern brush based on a device-independent bitmap (DIB). In Windows 95, brushes from bitmaps or DIBs must be 8x8 or smaller.BS_HATCHED: A hatched brush according to field lbHatch.BS_HOLLOW, BS_NULL: A hollow brush.BS_PATTERN, BS_PATTERN8X8: A pattern brush based on a bitmap.BS_SOLID: A solid brush.
lbColorLong,Depends on the value of lbStyle:For BS_SOLID refer to the description of the crColor parameter of the CreateSolidBrush API function (see Chapter 8).For BS_HATCHED refer to the description of the crColor parameter of the CreateHatchBrush API function (see Chapter 8).For BS_DIBPATTERN* refer to the description of the wUsage parameter of the CreateDIBPatternBrush API function
lbHatchLong,If lbStyle is BS_DIBPATTERN or BS_DIBPATTERN8X8, this field contains the handle to a packed DIB (refer to description of the hPackedDIB parameter to the CreateDIBPatternBrush API function in Chapter 8 for details). If lbStyle is BS_DIBPATTERNPT, this field contains the pointer to a packed DIB.If lbStyle is BS_HATCHED, this field is the same as the nIndex parameter to the CreateHatchBrush API function

上页:API函数详解:XFORM函数 下页:API函数详解:AbortPath函数

Windows API函数大全

Windows API函数首页Windows API函数按字母排列
控件与消息函数硬件与系统函数
设备场景函数绘图函数
位图、图标和光栅运算函数菜单函数
文本和字体函数打印函数
文件处理函数进程和线程函数
Windows消息函数网络函数
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号