[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

636.0. "Finding Window_Id and Display_Id for a process " by INDPNT::RADBURN (I'd like to buy a fish license) Wed Apr 19 1989 13:52

I have to implement a program that requires the window_id and display_id of that
process.

I have tried several ways all of which have one thing in common. They do not 
work!

Does anyone know how, if possible, to access the ids of a window that has been 
created by the session manager using the create terminal window option?

Cheers for any info in advance.
Gary.

T.RTitleUserPersonal
Name
DateLines
636.1How about this...GSRC::WESTI'm just visiting this planet.Wed Apr 19 1989 16:3512
    The programs SET_TITLE and CYCLE from the DW_EXAMPLES conference do
    what I think your after.  SET_TITLE basically gets the window id of the
    window with current input focus and then does a querytree to get a list
    of the children, finds the one with decw$terminal class name and then
    modifies the title.  CYCLE keeps track of all windows it finds on the
    screen so that it can 'cycle' (F5) thru the windows.
    
    I think that this is what you may be after.  Hope this helps.
    
    				-=> Jim <=-