描述
包含特定于NM_CUSTOMDRAW(list view)列表视图控件发送的通知消息.
FreeBASIC 语法
TYPE NMLVCUSTOMDRAW nmcd AS NMCUSTOMDRAW clrText AS COLORREF clrTextBk AS COLORREF iSubItem AS LONG dwItemType AS DWORD clrFace AS COLORREF iIconEffect AS LONG iIconPhase AS LONG iPartId AS LONG iStateId AS LONG rcText AS RECT uAlign AS UINT END TYPE |
成员
nmcd
NMCUSTOMDRAW structure that contains general custom draw information.
clrText
COLORREF value representing the color that will be used to display text foreground in the list-view control.
clrTextBk
COLORREF value representing the color that will be used to display text background in the list-view control.
iSubItem
Version 4.71. Index of the subitem that is being drawn. If the main item is being drawn, this member will be zero.
dwItemType
Version 6.0. DWORD that contains the type of the item to draw. This member can be one of the following values.
LVCDI_ITEM
An item is to be drawn.
LVCDI_GROUP
A group is to be drawn.
clrFace
Version 6.0. COLORREF value representing the color that will be used to display the face of an item.
iIconEffect
Version 6.0. Value of type LONG that specifies the effect that is applied to an icon, such as Glow, Shadow, or Pulse.
iIconPhase
Version 6.0. Value of type LONG that specifies the phase of an icon.
iPartId
Version 6.0. Value of type LONG that specifies the ID of the part of an item to draw.
iStateId
Version 6.0. Value of type LONG that specifies the ID of the state of an item to draw.
rcText
Version 6.0. RECT that specifies the rectangle in which the text is to be drawn.
uAlign
Version 6.0. DWORD that specifies how a group should be aligned. This member can be one of the following values.
LVGA_HEADER_CENTER
Center the group.
LVGA_HEADER_LEFT
Align the group on the left.
LVGA_HEADER_RIGHT
Align the group on the right.
备注
Note COMCTL32.DLL 6版是不可再发行的但它是包含在微软Windows XP或更高版本.使用COMCTL32.DLL版本6,它在一个清单指定.
引用文件
CommCtrl.bi


