Partager via


Link Item State Flags (Compact 2013)

3/28/2014

These flags are used to indicate the state of a link in a SysLink control.

  • LIS_ENABLED
    The link can respond to user input. This is the default unless the whole control was created with WS_DISABLED. In this case, all links are disabled.
  • LIS_FOCUSED
    The link has the keyboard focus. Pressing ENTER sends an NM_CLICK (SysLink) notification.
  • LIS_VISITED
    The link has been visited by the user. Changing the URL to one that has not been visited causes this flag to be cleared.
  • LIS_HOTTRACK
    Indicates that the SysLink control will highlight in a different color (COLOR_HIGHLIGHT) when the cursor is over the control.
  • LIS_DEFAULTCOLORS
    Does not use any custom text colors.

Remarks

These constants are used in the state and stateMask members of the LITEM structure.

Requirements

Header

commctrl.h

See Also

Reference

SysLink Controls Constants