Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 1.8 KB

em-getautourldetect.md

File metadata and controls

92 lines (57 loc) · 1.8 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
EM_GETAUTOURLDETECT message (Richedit.h)
Indicates whether the auto URL detection is turned on in the rich edit control.
f723f15c-bf8f-41ab-aef0-bd8f2c0b9e5d
EM_GETAUTOURLDETECT message Windows Controls
apiref
EM_GETAUTOURLDETECT
Richedit.h
HeaderDef
reference
05/31/2018

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