API函数详解:PALETTEENTRY函数

类型定义
Type PALETTEENTRY ' 4 Bytes
peRed As Byte
peGreen As Byte
peBlue As Byte
peFlags As Byte
End Type
Windows API函数功能说明
Describes an entry in a logical palette
字段表
字段类型与说明
peRedByte,An 8-bit value describing the red component of an RGB color.
peGreenByte,An 8-bit value describing the green component of an RGB color.
peBlueByte,An 8-bit value describing the blue component of an RGB color.
peFlagsByte,An 8-bit value containing one of the following values:
0: Map this entry normally.
PC_EXPLICIT: The low order word (combination of the peRed and peGreen fields) contains an index into the system palette. This allows you to display the system palette colors.
PC_NOCOLLAPSE: This color is mapped into an unused system palette entry and will not be mapped to an existing color. Subsequent palettes may map colors to this entry.
PC_RESERVED: This color is mapped to an unused system palette entry and no other logical palettes will be mapped to that entry. By restricting the system palette entry to this logical entry, color cycling involving direct changes to the system palette becomes possible.

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

Windows API函数大全

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