[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

2371.0. "Help to create a window" by HKOVC::TERENCE (From Middlesex, UWO) Wed Feb 28 1990 03:38

    Could anybody tell me how to do the following things:
    1) Create a window without the title bar
    2) Create a window without the resize icon
    
    Examples are appreciated. No Xt routines please.
    
    Thanx in advance
    
    -Terry
T.RTitleUserPersonal
Name
DateLines
2371.1documented23466::SWEENEYPatrick Sweeney in Hong KongWed Feb 28 1990 10:568
    In Xlib, the title bar and the resize icon are window properties: "wm
    hints", "dec wm hints", etc.  They are documented in the customer
    documentation.  In VMS, in the Xlib reference in the chapter on
    Property Routines.
    
    Few examples exist for the manipulation of the properties directly in
    Xlib since most programmers are using the toolkit (ie "Xt routines")
    which simplify the manipulation of window manager decoration greatly.
2371.2Where?HKOVC::TERENCEFrom Middlesex, UWOThu Mar 01 1990 00:338
    What is a customer documentation?
    
    I couldn't find any thing concerning WmSetDEC...() reoutines in my XLib
    reference manual. Could you tell me where to find it?
    
    Thanx in advance
    
    -Terry
2371.323466::SWEENEYPatrick Sweeney in Hong KongThu Mar 01 1990 11:3020
    I don't believe there's a tidy interface for changing the DEC
    properties, see DECWMHints.h and VendorP.h in DECW$INCLUDE: for the
    data structures.
    
    XSetStandardProperties and XSetWMHints are the interface for the
    non-DEC, ie X-defined properties.
    
    Properties are manipulated with XGetWindowProperty and XChangeProperty.
    These are not simple routines to use correctly.
    
    Warning: with the adoption of the inter-client communications
    conventions manual (what people here call ICCCM) and X11 R4, there's
    been substantial changes to this area of X and DECwindows.
    
    If this is question for your personal learning, then go for it.  If
    this is a problem for a customer, then you might accelerate the
    solution by telling us what you are trying to accomplish.
    
    Pat Sweeney
               
2371.4GOSOX::RYANDECwindows MailThu Mar 01 1990 12:347
	For an example of setting DEC window manager properties without
	using the toolkit, see my recent note in SUBWAY::MOTIF on
	setting the iconifyPixmap. Also, you may want to look at
	several other recent notes on issues involving supporting
	ICCCM window managers and the DEC window manager.

	Mike
2371.5See Note 34STAR::CYPRYCHFri Mar 02 1990 14:048
    Also see note #34.... they are just code examples of 
    what X calls to make to what properties.  
    
    I believe in the example you will want to allocate memory
    for the DECWmHints structure (even though its not in the
    example itself)
    
    Nancy