Live Chat Icon For mobile
Live Chat Icon

How can I detect if the user clicks into another window from my modal dialog

Platform: WinForms| Category: Form

Use the Form.Deactivate event:

	this.Deactivate += new EventHandle(OnDeactivate);

	private void OnDeactivate(object s, EventArgs e) 

(from on microsoft.public.dotnet.framework.windowsforms)

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.