Export (0) Print
Expand All

DTM_ENABLESCRIPTING

Send Feedback

This message is sent by an application to enable or disable scripting for the HTML control.

Syntax

DTM_ENABLESCRIPTING
  wParam = 0;
  lParam = (LPARAM)(BOOL) bEnableScripting;

Parameters

bEnableScripting
A Boolean that indicates whether to enable scripting for the HTML control. If set to TRUE, scripting is enabled. If set to FALSE, scripting is not enabled.

Return Values

None.

Remarks

This message has no effect on pages that were loaded before the message was sent. It only affects pages that are loaded after the message is sent.

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_ENABLESCRIPTING, 0, TRUE);

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: htmlctrl.h
Library: htmlctrl.lib

See Also

HTML Control API Messages | WC_HTML Windows styles


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft