[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

3142.0. "Is Workstation really in use or just idle" by 5631::SHEPRO (Know New Taxes) Fri Jul 27 1990 09:09

How can one tell if a workstation is in use or if the user has left his/her 
station logged in (paused or not) and has gone home?
T.RTitleUserPersonal
Name
DateLines
3142.1PSW::WINALSKICareful with that VAX, EugeneFri Jul 27 1990 17:0210
You can tell if a workstation is paused by checking for the existence of the
session manager pause window and then seeing if that window is mapped and
visible.  If it exists, is mapped, and is visible, then the session is paused.
Take a look at files XAQUARIUM.C and SMPAUSEWINDOW.C in
TLE::ULNK$:[WINALSKI.XAQUARIUM].  XAQUARIUM.C contains a routine InPausedState()
that will tell you if the session is paused.  SMPAUSEWINDOW.C contains a routine
SmPauseWindow() that will find and return the window ID of the session manager's
pause window.  InPausedState() uses SmPauseWindow() to find the pause window.

--PSW