Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!rpi!dali.cs.montana.edu!milton!kenney@milton.u.washington.edu From: kenney@milton.u.washington.edu (Michael Kenney) Newsgroups: comp.windows.x Subject: Help with Athena DialogBox Widget Message-ID: <14373@milton.u.washington.edu> Date: 14 Jan 91 19:28:27 GMT Sender: kenney@milton.u.washington.edu Distribution: usa Organization: University of Washington, Seattle Lines: 21 I've been programming with Xlib for a while now and just recently decided to give Xt a try - it sure didn't take long to run into a problem :-). I'm attempting to popup an already created DialogBox from within an action. Depending on the input string to the action I want the DialogBox to have one of 2 labels ("Enter input file" of "Enter output file"). I can't seem to change the label with XtSetValues - the box always pops up with the default label. Here's the method I use within the action: - Set label in DialogBox widget according to input - Set x,y of PopupShell according to pointer position - XtRealizeWidget(PopupShell) - XtPopup(PopupShell, XtGrabNonexclusive) Am I forgetting something? Please respond via email. Thanks in advance. Mike Kenney UW Applied Physics Lab mikek@apl.washington.edu