Compartir a través de


InsertIntoFunction

Used by AddATLSupportToProject to insert code into InitInstance.

function InsertIntoFunction( 
   oFunction, 
   strSearchString, 
   nStartLine, 
   nEndLine, 
   bInsideIfBlock  
);

Parameters

  • oFunction
    The function object into which the insertion is made.

  • strSearchString
    The string to find to determine insertion point.

  • nStartLine
    The starting line to pass to GetCodeForInitInstance.

  • nEndLine
    Ending line to pass to GetCodeForInitInstance.

  • bInsideIfBlock
    Indicates whether the insertion is into a function block.

Return Value

true if successful; otherwise false.

See Also

Tasks

Creating a Custom Wizard

Reference

GetMemberfunction

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Other Resources

JScript Functions for C++ Wizards