Author Topic: How to force IWMessageBoxView to close automatically?  (Read 2615 times)

Offline merve.ugursac

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
How to force IWMessageBoxView to close automatically?
« 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.
« Last Edit: June 23, 2022, 02:16:09 PM by merve.ugursac »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: How to force IWMessageBoxView to close automatically?
« Reply #1 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