This message is sent by an application to enable or disable scripting for the HTML control.
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);