Forum Discussion

amit_thakkar's avatar
14 years ago

How to disable Message Box border

HI,
I have been using roMessageDialog from document i.e. Component Reference in my channel.
I want to show only Text & animation while Message Box is being shown i.e. i don't want to show Border of Message Box.
Is it possible to implement the same.
Kindly let me know if its possible..

Thanks
Amit

6 Replies

  • If you mean the border of the dialog box, that's not possible with roMessageDialog. You could try drawing your own dialog with roScreen and the other 2D components.

    If you mean the dimmed background while the dialog is visible, use roMessageDialog's EnableOverlay() function.
  • can you please provide the example of the dialogue box without the border using the attributes that you have mentioned..?

    Thanks
    Amit
  • The simple2d example in the SDK demonstrates how to work with the 2D APIs. There isn't sample code specifically for drawing a dialog. You would have to develop that on your own.
  • Chris, Can you use the 2D APIs on top of other UI screens? I thought they were only usable with the roScreen. It sounds to me like the OP wants a custom message box dialog, which I think would require using the roImageCanvas, instead.
  • "TheEndless" wrote:
    Chris, Can you use the 2D APIs on top of other UI screens? I thought they were only usable with the roScreen. It sounds to me like the OP wants a custom message box dialog, which I think would require using the roImageCanvas, instead.


    True story. My mind jumped to roScreen because he wanted to do animation and the performance is so much better. I didn't consider the need to see the underlying screen beneath the dialog.
  • I assumed by "animation" he was referring to ShowBusyAnimation().