[comp.windows.interviews] IV 2.6 event handling

hoffman@nunki.crd.ge.com (William A. Hoffman) (04/23/91)

I am using IV 2.6.

I need to check some IPC and io sockets in 
a Run method.

Here is my Run method:

void Tedit::Run () 
{
  Event e;
  int done = false;
  
  while(done != true)
    {
      // check sockets for new events and process if found
       selectSockets();

      // check Interviews events
      if(Check())
	{
	  Read(e);
	  Handle(e);
	  done = ButtonStates();
	}
    }
}

Without the if(Check()), the application waits for a new event
before processing the sockets.  With the if(Check()), pulldown
menus don't work.  They pulldown, but the highlight bar is not
seen.  

Is there anyway to do this in IV 2.6?

Bill Hoffman (hoffman@crd.ge.com)