[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

468.0. "Top Window" by 22082::SHAH (DECwindows Technical Support) Thu Mar 23 1989 15:05

Hiya all,

Is there a way of finding out if a specific window is at the top of the stack?
This top window doesn't necessarily have input focus.  Is there something that
I can check in the window manager?  I've searched for various titles but 
haven't found anything.  If another note describes the solution, please 
point me to that....

Thanks,
-Pratish Shah


T.RTitleUserPersonal
Name
DateLines
468.1Use Visibility Notify EventsLDP::WEAVERLaboratory Data Products/ScienceThu Mar 23 1989 18:346
    Visibility notify events should let you keep track of it, I don't
    know if there is any way to query the current state (it could change
    out from under you any way).
    
    						-Dave

468.2Problems with Visibility Notify22082::SHAHDECwindows Technical SupportMon Mar 27 1989 14:2610
I created a simple program to use the Visbility Notify event, but I seem to be 
having some problems.  This application seems to only generate the event 
whenever I iconize and de-iconize a window.  There's no event generated when
I push the window back or partially cover it with another window.  Does a 
Visibility Notify event get generated during these actions?

Thanks,
-Pratish

468.3CirculateNotify is the correct eventLDP::WEAVERLaboratory Data Products/ScienceMon Mar 27 1989 22:0310
    Sorry, you want CirculateNotify events, not Visibility events, I
    misinterpreted the original request.  Use StructureNotifyMask or
    SubstructureNotifyMask.
    
    All of this is documented in the "X WINDOW SYSTEM C library and
    Protocol Reference" published by Digital Press and orderable online
    through DECdirect (EY-6737E-DP).
    
    							-Dave

468.4Have same questionAVIATE::SHAHYanks in '89Wed Jul 12 1989 12:0512
	Since the last reply, I haven't had time to try out any solutions.
	CirculateNotify event only gets generated when the application calls
	XCirculateSubwindows** routines.  So if a user brings a window to
	the front by pressing on the title bar this event doesn't get 
	generated.  I may have misunderstood something??  Is there a way
	of getting the stacking order from DECwindows or do I have to
	keep track of this information myself....

	Thanks,
	-PS