[comp.windows.x.motif] secondary dialogbox placement

barb@encore.com (Barb VanDusen) (01/03/91)

Section 1.4.1 of the 1.1 Motif style guide, paragraph three suggests that
secondary DialogBoxes be placed near their parent so that when the secondary
DialogBox appears, the mouse pointer is over the default PushButton. I would
like to do this at least for help message dialogs where data from the parent
doesn't need to be seen.

How does the application find out where the mouse pointer is currently?
What if the user moves it after activating a widget?

How is the placement of the secondary box figured? What if the size of the 
secondary box varies, and what if the default widget was moved in appDefaults 
or .Xdefaults. 

Thanks!