次の方法で共有


WizComboClass.focus Method

Definition

Sets the cursor focus to the wizard combo box.

public:
 virtual void focus() = Microsoft::VisualStudio::VsWizard::IWizCombo::focus;
public:
 virtual void focus() = Microsoft::VisualStudio::VsWizard::IWizCombo::focus;
 virtual void focus();
[System.Runtime.InteropServices.DispId(1610743811)]
public virtual void focus ();
[<System.Runtime.InteropServices.DispId(1610743811)>]
abstract member focus : unit -> unit
override this.focus : unit -> unit
Public Overridable Sub focus ()

Implements

Attributes

Examples

//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);  
}  

Applies to