Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!nunki!hoffman From: hoffman@nunki.crd.ge.com (William A. Hoffman) Newsgroups: comp.windows.interviews Subject: IV 2.6 event handling Keywords: Run, event, Read, Check, sockets Message-ID: <18758@crdgw1.crd.ge.com> Date: 22 Apr 91 19:05:41 GMT Sender: news@crdgw1.crd.ge.com Reply-To: hoffman@nunki.crd.ge.com (William A. Hoffman) Lines: 36 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)