jgraham@CRC.SKL.DND.CA (Jay Graham) (02/13/91)
Greetings! I have an application that requires a simulation clock (hh:mm:ss) to be in one of my windows. I would like to have the clock in the top right hand corner of the window and remain in the top right hand corner whenever the window is resized. The window (widget)that the clock is in is a BulletinBoardDialog, so I thought that I could have the BulletinBoardDialog "control" (UIL) a Form and then have the Form "control" the RowColumn that contains my clock labels. With this layout I was going to attach the RowColumn to the top right of the Form using XmNrightAttachment = XmATTACH_FORM and XmNtopAttachment = XmATTACH_FORM in the UIL file. When I did this the attachment did not work. I tried the same method inside the MainWindow instead of the BulletinBoardDialog and it works great. Why did the Form not behave as I expected in the BBD? Do I need to set a different resources for a Form in a BBD? Does a Form work with a DialogShell parent? I am using Interactive's X11R3 and Motif 1.0 on an AT&T 386 with 386/ix. Thanks in advance for any help. Jay Graham (jgraham@crc.skl.dnd.ca) Software Kinetics, Ottawa, Ontario, CANADA