Look into ApCreateDBWidgetFamily().
Alec Gorjestani <email@example.com> wrote:
Thanks for the suggestion.
I implemented the ApCreateModule() approach and the dialog window does
appear. However, none of the widgets inside the window are drawn. The
window has a color fill, but it is transparent. I am able to
successfully destroy the dialog.
Any ideas as to what’s causing this?
Applications Support wrote:
“Alec Gorjestani” <> firstname.lastname@example.org> > wrote in message
news:> 3DB6C33B.email@example.com> …
I would like to have a dialog window pop up at a certain time interval
and time-out and disappear. The only way I can think of doing this is by
hiding a button somewhere and using an event timer to have the button
‘press’ itself setting off the activate callback where a dialog module
is attached. This is not very elegant.
Is there a way to have a dialog window realize itself and then destroy
You could setup a timer and use the ApCreateModule() to bring up your dialog
as long as you have used PhAB to create your dialog and created your
internal link. You could also use the same timer to unrealize the widget as
well. For this you could use PtUnrealizeWidget() or PtDestroyWidget(). For
more information on this you can take a look at the documentation found at
Also, I was wondering if there is a way to have a widget cause a
callback for another widget.
You could attach to the same callback from both widgets if that’s what you
I hope this helps.
Help on this would be greatly appreciated.
Chris McKillop <firstname.lastname@example.org> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –