[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

2612.0. "Please describe Attachments." by HPSRAD::KOMAR (the (w)hole story) Fri Apr 13 1990 15:44


	The following was posted in decwindow programmsing, where it
	recieved no attention.  I've added a more requsts.

	I think that Attachments are powerful and a bit daunting.  I
	suspect they were quite daunting to the documentation team
	(which is *OK*).  I'd like the next round of documentation to
	be more helpful.  

                    -< DECwindows Programming hints/kinks >-
===============================================================================
Note 748.0             please define/explain "attachment"            No replies
-------------------------------------------------------------------------------
    
    	Would someone provide a definition of "attachment" in the context
    of attached dialog boxes?  I've read the appropriate sections in the
    Guide to Application Programming and I've looked at a couple of
    examples.  But I don't have a warm fuzzy feeling about how to use them. 
    I believe that I want to use attachments because I don't want to
    specify positions of children in a window, I want the "computer" to
    place them for me, subject to certain constraints. 
    
    Attachments influence the possition of children in attached dialog
    boxes.  They also can influence the possition of said children as the
    box is resized. 

*	I'd like to see:
    
    	How and when do you folks use attachments

*	A formal description of what they are supposed to do. (pretty
	please?  then I could try to Reason about what each attribute
	is going to do.)

*	An example showing each attribute, and how sets of attributes
*	interact.


    
    		-pk.
    		who has already gotten a better understanding of the
    		various aspects of attachments just by writing this note.
    
    P.S. Do you think that the documentation is sufficient?  I'm not
    suggesting that the writers didn't do a good job; I'm hoping we can
    generate some feedback for how it could be improved.  I'd like to be
    able to read the documentation, then code up an example, without having
    to hack around for very long.  I do read the manual before coding,
    unlike many programmers (and tech writers!) I know :-)
T.RTitleUserPersonal
Name
DateLines
2612.1When can a parent ADB clip a child?HPSRAD::KOMARthe (w)hole storyFri Apr 13 1990 15:4710
    
    	Since writing the previous note (in decw-programming), I've been
    playing with helloworld.uil.  In one of my attempts, the ADB clips the
    label!  Sounds like a bug, but I can't figure out whether it is a uil
    programming bug, or something deeper.  So here is a question:
    
    When should an ADB clip its children (without resizing)?
    
    		-pk.
    
2612.2I can think of a fewDECWIN::KLEINFri Apr 13 1990 16:2512
>    When should an ADB clip its children (without resizing)?
 
(1) When there are bugs in the connections that would force the ADB to ignore
some of them,

(2) When there is a negative margin specified

(3) When one of the attach_adb connections has a negative offset,

(4) Can't think of any others but I'm sure there are some.

-steve-
2612.3For more info...STAR::WURMWed Apr 25 1990 09:253
    For more information on attachments, see the low-level routine ATTACHED
    DIALOG BOX CREATE in the VMS DECwindows Toolkit Routines Reference
    Manual.