Occurs when the user attempts to change the input language for the form.
[Visual Basic] Public Event InputLanguageChanging As _ InputLanguageChangingEventHandler [C#] public event InputLanguageChangingEventHandler InputLanguageChanging; [C++] public: __event InputLanguageChangingEventHandler* InputLanguageChanging;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type InputLanguageChangingEventArgs containing data related to this event. The following InputLanguageChangingEventArgs properties provide information specific to this event.
|Cancel (inherited from CancelEventArgs)||Gets or sets a value indicating whether the event should be canceled.|
|Culture||Gets the locale of the requested input language.|
|InputLanguage||Gets a value indicating the input language.|
|SysCharSet||Gets a value indicating whether the system default font supports the character set required for the requested input language.|
This event occurs before the change of input language is made for the form. You can cancel the language change by setting the Cancel property of the InputLanguageChangingEventArgs passed to your event-handling method to false. If the event is canceled, the input language is not changed. You can use this event to determine whether the requested input language change is appropriate for your application.
For more information about handling events, see Consuming Events.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family