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

Offline merve.ugursac

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

Online cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7538
  • Karma: 56330
Re: How to force IWMessageBoxView to close automatically?
« Reply #1 on: June 23, 2022, 11: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