Bewerken

Delen via


EM_GETAUTOURLDETECT message

Indicates whether the auto URL detection is turned on in the rich edit control.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

If auto-URL detection is active, the return value is 1.

If auto-URL detection is inactive, the return value is 0.

Remarks

When auto URL detection is on, Microsoft Rich Edit is constantly checking typed text for a valid URL. Rich Edit recognizes URLs that start with these prefixes:

  • http:
  • file:
  • mailto:
  • ftp:
  • https:
  • gopher:
  • nntp:
  • prospero:
  • telnet:
  • news:
  • wais:
  • outlook:

Rich Edit also recognizes standard path names that start with \\. When Rich Edit locates a URL, it changes the URL text color, underlines the text, and notifies the client using EN_LINK.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

EN_LINK