Add scripting to your application with Vbsedit !

IDebugDocumentHelper::SetDefaultTextAttr

 

Sets the default attributes to use for text that is not in a script block.

HRESULT SetDefaultTextAttr(
   SOURCE_TEXT_ATTR  staTextAttr
);

staTextAttr

The default source text attributes.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value

Description

S_OK 

The method succeeded.

Unless the default attributes are changed by this method, the default attributes for text outside a script block is SOURCETEXT_ATTR_NONSOURCE. The user interface can use this information to mark text outside script blocks as read-only.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2022 adersοft