comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » making DIALOG_MESSAGE jump out
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
making DIALOG_MESSAGE jump out [message #54890] Thu, 19 July 2007 10:57 Go to next message
rclark is currently offline  rclark
Messages: 12
Registered: September 1992
Junior Member
Is there a way to make a DIALOG_MESSAGE box more conspicuous?

Especially helpful would be a way to keep the dialog box floating
above other widget windows. If the user happens to not notice the
dialog box right away it may drop back behind the control panel, which
can make things a little confusing.

Also helpful might be to sound a couple of beeps, use different colors,
or make smoke and sparks shoot out of the display.

There's no /float option. There also isn't a /beep option so I have
tried to embed an ascii bell in the message string, but with no luck.
(Although including a string(10b) in the text for VALUE for a button
widget produces a newline in the button label, at least on our linux
systems)

Oh duh! I just thought of an obvious workaround to get the beep...
there's still STDOUT so just put a print,string(7b) elsewhere in the
event handler. Though it seems like dialog_message should allow this
itself-- getting the user's attention is usually the idea for using
it.

But I would still really like to force the dialog box to remain visible
above any other widget or graphics windows on the screen.

Any ideas would be greatly apreciated.

Thanks,
Richard Clark
Re: making DIALOG_MESSAGE jump out [message #54983 is a reply to message #54890] Thu, 19 July 2007 15:29 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jul 19, 11:57 am, rcl...@hindmost.lpl.arizona.edu (Richard Clark)
wrote:
> Is there a way to make a DIALOG_MESSAGE box more conspicuous?
>
> Especially helpful would be a way to keep the dialog box floating
> above other widget windows. If the user happens to not notice the
> dialog box right away it may drop back behind the control panel, which
> can make things a little confusing.
>
> Also helpful might be to sound a couple of beeps, use different colors,
> or make smoke and sparks shoot out of the display.
>
> There's no /float option. There also isn't a /beep option so I have
> tried to embed an ascii bell in the message string, but with no luck.
> (Although including a string(10b) in the text for VALUE for a button
> widget produces a newline in the button label, at least on our linux
> systems)
>
> Oh duh! I just thought of an obvious workaround to get the beep...
> there's still STDOUT so just put a print,string(7b) elsewhere in the
> event handler. Though it seems like dialog_message should allow this
> itself-- getting the user's attention is usually the idea for using
> it.
>
> But I would still really like to force the dialog box to remain visible
> above any other widget or graphics windows on the screen.
>
> Any ideas would be greatly apreciated.

You could use the DIALOG_PARENT keyword to specify a widget
hierarchy's tlb. The dialog will float over the tlb and the user can't
go back the tlb until they dismiss the dialog.

Mike
--
www.michaelgalloy.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: zero-padding an array of arbitrary dimensionality (replacing execute in vm)
Next Topic: widget_table

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:40:50 PDT 2025

Total time taken to generate the page: 0.00475 seconds