Export (0) Print
Expand All
Expand Minimize

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

EN_LINK

 

 

Community Additions

ADD
Show:
© 2014 Microsoft