[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3421.0. "pop-up dialog box bugs/features" by BLKPUD::THOMASA (Wow I,ve got a colour ....) Tue Oct 02 1990 08:31

    <<< HARBOR::SHPLOG$DUA6:[NOTES$LIBRARY]DECWINDOWS_PROGRAMMING.NOTE;1 >>>
                    -< DECwindows Programming hints/kinks >-
================================================================================
Note 1078.0                                                          no replies 
BLKPUD::THOMASA "Wow  I,ve got a colour ...."        32 lines  28-SEP-1990 12:50
--------------------------------------------------------------------------------
Hi all,
      I'm having 3 problems, I wonder if anyone could suggest workarounds
or point me to some example code

XUI toolkit:-

1. Positioning pop-up dialog boxes relative to there parents :-
I do
XtFetchWidget          -gives widget_id
XtSetArgs(al,DwtNx,  )
XtSetArgs(al,DwtNy,  )
XtSetValues(XtParent(widget_id),al,2)

    This moves the popup dialog box ok, but still relative to the root window !
    MOTIF and DECwindows window manager


2. Giving focus to the main window of my application pushes the pop-up dialog
boxes to the bottom of the stack and when they are restacked to the top by my 
mouse button the push buttons inside the dialog boxes are sometimes not re-drawn
!  (DECwindows window manager only )

3. using XMoveWindow on the main application window (to position it on 
application startup) works ok with MOTIF but not with DECwindows window
manager !

	Andy ideas anyone ?


		Thanks

			Andy
T.RTitleUserPersonal
Name
DateLines