VB打造超酷个性化菜单(五)[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 goodname008 的 blog

public const dst_icon = &h3                         ' lparam包括图标的句柄
public const dst_bitmap = &h4                       ' lparam包括位图的句柄
public const dss_normal = &h0                       ' 普通图像
public const dss_union = &h10                       ' 图像进行抖动处理
public const dss_disabled = &h20                    ' 图象具有浮雕效果
public const dss_mono = &h80                        ' 用hbrush描绘图像
public const dss_right = &h8000                     ' 无任何作用

' edge to drawedge
public const bdr_raisedouter = &h1                  ' 外层凸
public const bdr_sunkenouter = &h2                  ' 外层凹
public const bdr_raisedinner = &h4                  ' 内层凸
public const bdr_sunkeninner = &h8                  ' 内层凹
public const bdr_outer = &h3
public const bdr_raised = &h5
public const bdr_sunken = &ha
public const bdr_inner = &hc
public const edge_bump = (bdr_raisedouter or bdr_sunkeninner)
public const edge_etched = (bdr_sunkenouter or bdr_raisedinner)
public const edge_raised = (bdr_raisedouter or bdr_raisedinner)
public const edge_sunken = (bdr_sunkenouter or bdr_sunkeninner)

' grfflags to drawedge
public const bf_left = &h1                          ' 左边缘
public const bf_top = &h2                           ' 上边缘
public const bf_right = &h4                         ' 右边缘
public const bf_bottom = &h8                        ' 下边缘
public const bf_diagonal = &h10                     ' 对角线
public const bf_middle = &h800                      ' 填充矩形内部
public const bf_soft = &h1000                       ' msdn: soft buttons instead of tiles.
public const bf_adjust = &h2000                     ' 调整矩形, 预留客户区
public const bf_flat = &h4000                       ' 平面边缘
public const bf_mono = &h8000                       ' 一维边缘

public const bf_rect = (bf_left or bf_top or bf_right or bf_bottom)
public const bf_topleft = (bf_top or bf_left)
public const bf_topright = (bf_top or bf_right)
public const bf_bottomleft = (bf_bottom or bf_left)
public const bf_bottomright = (bf_bottom or bf_right)
public const bf_diagonal_endtopleft = (bf_diagonal or bf_top or bf_left)
public const bf_diagonal_endtopright = (bf_diagonal or bf_top or bf_right)
public const bf_diagonal_endbottomleft = (bf_diagonal or bf_bottom or bf_left)

本文关键:VB XP 个性化 风格 菜单
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top