Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: merve.ugursac on June 23, 2022, 11:19:07 AM

Title: How to force IWMessageBoxView to close automatically?
Post by: merve.ugursac on June 23, 2022, 11:19:07 AM
Hello,

I have a wpf application and I give user a message with an OK button, in a certain case. The user leaving this messagebox be without clicking any button is an unwanted business behaviour.
How can I force messagebox to close automatically from code after some period of time?
I tried  IWMessageBoxView.DestroyBoxResult();, but to no avail.
Title: Re: How to force IWMessageBoxView to close automatically?
Post by: cavagnaro on June 23, 2022, 02:38:06 PM
Well...honestly this has nothing to do with Genesys and more as a developer in whatever language you are using
Google or Duck Duck is your friend


https://stackoverflow.com/questions/14522540/close-a-messagebox-after-several-seconds