Hi,

I have written an application where I want a Pmw.MessageDialog to pop up on my screen (running Windows 2000) and be the top level object.

I originally used a tkMessageBox which worked fine but I wanted to customise the event so I used a Pmw MessageDialog instead. Now, for some reason the dialog will not become visible i.e. it is shown but is often under some other application window and therefore I don't see it raised.

The code to raise it looks like this:

self.dialog.show()
self.dialog.activate()

I do a self.dialog.withdraw() immediately after I have created the dialog.

I have searched the list, I have tried some different things but am at a loss as to why this doesn't become the topmost item on my screen when it activates - I didn't have a problem with the tkMessageBox. I (briefly) tried to see whether there was any clues in the tk library stuff about dialogs, tkSimpleDialog etc but couldn't see anything obvious.

Help would be much appreciated :-)

Thanks
Peter

Peter Milliken
Software Engineer
ResMed Ltd
1 Elizabeth Macarthur Drive
Bella Vista NSW 2153 Australia

Tel: +61 2 8884 1000
Dir: +61 2 8884 2316
Fax:+61 2 8884 2006
email:
peterm@resmed.com.au



Warning: Copyright ResMed. Where the contents of this email and/or attachment includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and the intended recipient.

This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed immediately on +61 2 8884 1000 Sydney, Australia.