Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Title bar icon
posted

Is it possible to set a title bar icon in an UltraMessageBoxManager dialog? If not, there's a feature request.

Parents
  • 6158
    Suggested Answer
    Offline posted

    Hello,

    Unfortunately, it is not possible to set the caption's icon on the UltraMessageBox. To demonstrate your interest in this functionality, I would suggest entering a feature request so our product management will consider this feature for a future release.

    While I don't recommend using it, you should be able to use reflection if this functionality is a requirement of your application. There are four steps to achieving it:

    1. Use reflection to instantiate a MessageBoxDialog object.
    2. Use reflection to call the internal InitializeDialog() method; passing in the UltraMessageBoxInfo object.
    3. Cast the MessageBoxDialog object to a Form and set the Icon property.
    4. Call ShowDialog()

    I hope this helps.

    Thanks.

    Chris

     

     

     

Reply Children