[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

2960.0. "How to add more choices to Session Mgr's menu" by TKOVOA::MIZUNO (My desk, My mess, My business) Wed Jun 20 1990 03:59

	Hello, I have two questions that seem to be very simple to do yet I
	am unable to come up with the solutions...

	I want to change the background pattern and the shape of pointer cursor
	of the root window.  This can be done from Session Mgr's menu with just
	a simple click of your mouse button.  However what if you want to add
	some of your own patterns to those choices?  In the window's background
	pattern map, there are some tile areas which seem to be unused. I would
	like to add mine to those unused tile areas. As for pointer cursor
	pattern choice list, I would like to append mine to the list.

	How can these be done?  (--- thru resource files, perhaps???) Is there
	any simple solutions or some tools which allow users these
	customizations?

	Thank you in advance from Tokyo...	*Lucy* Mizuno @ Edu/Appl'n
T.RTitleUserPersonal
Name
DateLines
2960.1background root patternsSTAR::ORGOVANVince OrgovanWed Jun 20 1990 19:387
    The Session Managers list of background patterns is hardcoded. It
    cannot be extended by the user. 
    
    There are several example programs that tile the root window with
    user defined patterns. Look in the DW_EXAMPLES conference on 
    ELKTRA. Note 39.* talks about XSetRoot which might be what you 
    want.
2960.2TKOVOA::MIZUNOMy desk, My mess, My businessThu Jun 21 1990 04:118
	Thank you for a quick response. I will look up ELKTRA::DW_EXAMPLES.

>    ELKTRA. Note 39.* talks about XSetRoot which might be what you 
>    want.

	But my workstation runs on VMS... Sigh.
                                   ^^^
	                                      		*Lucy*
2960.3VMS has XSetRoot tooHKOVC::TERENCEFrom Middlesex, UWOThu Jun 21 1990 05:5010
      <<< Note 2960.2 by TKOVOA::MIZUNO "My desk, My mess, My business" >>>

Re: -1

#	But my workstation runs on VMS... Sigh.
                                   ^^^
Many people have successfully ported the U*IX XSetRoot program to VMS.
I am sure that you can find one in DW_EXAMPLES.

-Terry
2960.4MPGS::VMS$Kits:<DECW.Util>XSetRoot.*GOFER::HARLEYYvonne, I love you, but he pays me...Thu Jun 21 1990 11:081
    
2960.5Beware if you try putting this in your DECW$LOGIN.COMATSE::DMILLERCecil B D&#039;Miller, the esotericThu Jun 21 1990 14:127
	The problem I've had with changing the root window is doing it too
	early...  I had my DECW$LOGIN.COM change the background, but then
	DECwindows would change it back.  I ended up spawning a second .COM
	file that did a WAIT 00:00:30 before setting the root.

	Of course, once DECwindows has completed it's startup, then there's
	no worry.
2960.6How about the cursor...VINO::WITHROWMass. recall petitions available here!Thu Jun 21 1990 14:344
What about changing the cursor (as was asked in base note)?  Do you
have to write code to change it or is there an existing hack (for VMS
et. al.)... 

2960.7STAR::MFOLEYRebel without a ClueThu Jun 21 1990 16:465

	I think XSETROOT will change the cursor too.

								mike
2960.8Both problems are solvedTKOVOA::MIZUNOMy desk, My mess, My businessThu Jun 21 1990 21:1611
	Thank you all for quick replies.

	What I really wanted was something like xsetroot for VMS.
	(But I forgot to mention it in .0 note. Sorry.)
	Since I did not know it was already ported to VMS, I wonderd if
	there was some alternative method to modify root window's parameter.
	If it is already ported from U*ix to VMS, then I will be able to
	use it to customize my curosor and background pattern of a root
	window.                        ^^^

							*Lucy*  (^-^)