WizComboClass::focus Method ()

 

Sets the cursor focus to the wizard combo box.

Namespace:   Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

public:
virtual void focus()

//Taken from the Visual C++ Generic Class wizard

function InitDocument(document)
{
   setDirection();
   CLASS_NAME.focus();

   if (window.external.FindSymbol("DOCUMENT_FIRST_LOAD"))
   {
      var L_WizardDialogTitle_Text = "Generic C++ Class Wizard";
      window.external.AddSymbol("WIZARD_DIALOG_TITLE", L_WizardDialogTitle_Text);
      window.external.SetDefaults(document);
   }
   window.external.Load(document);
}
Return to top
Show: