IDesktopUserActions.SetFocusOnApplication(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests the desktop to set focus on the application requested.
public:
bool SetFocusOnApplication(System::String ^ applicationName);
public bool SetFocusOnApplication (string applicationName);
abstract member SetFocusOnApplication : string -> bool
Public Function SetFocusOnApplication (applicationName As String) As Boolean
Parameters
- applicationName
- String
Specifies the name of the application to set focus on.
Returns
True
if the focus was set, otherwise false
.