Skip to content

ImlDrawConstants

传递给 ListImage.DrawStyle 参数的标志组合。多个标志可通过 Or 运算组合以构成渲染样式。

vb
' Draw a small icon with the focus rectangle overlaid:
ImageList1.ListImages("doc").Draw _
    PictureBox1.hDC, 0, 0, _
    ImlDrawTransparent Or ImlDrawFocus
成员描述
ImlDrawNormal1以正常状态渲染(无覆盖层)。
ImlDrawTransparent2遵循图像的遮罩/Alpha —— 透明像素保持透明。
ImlDrawSelected4以选中颜色覆盖层渲染(通常为蓝色色调)。
ImlDrawFocus8以焦点矩形覆盖层渲染(虚线边框)。
ImlDrawNoMask16忽略遮罩 —— 绘制整个位图,包括通常为透明的像素。

另见

twinBASIC及其LOGO版权为作者"韦恩"所有