Calling this method disables the wizardhost from capturing certain key-press events like ESCAPE (which
usually results in cancelling the wizard) or ENTER (which usually results in finishing the wizard)
Syntax
Visual Basic (Declaration) | |
---|
Sub DisableKeyPreview()
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As IWizardHostService
instance.DisableKeyPreview()
|
C# | |
---|
void DisableKeyPreview()
|
C++/CLI | |
---|
void DisableKeyPreview();
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also