Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!hubdub!greenwoode From: greenwoode@merrimack.edu (Ed Greenwood) Newsgroups: comp.sys.amiga.tech Subject: ===> Need help with two problems <=== Message-ID: <21000.279cc2d4@merrimack.edu> Date: 22 Jan 91 22:55:16 GMT Organization: Merrimack College, No. Andover, MA Lines: 23 Hi, I am writing a application program in C that uses the mouse, gadgets, a printer, and the disk drive. Most of the program consists of fixed screens such as graphs or menus. I currently have two unrelated problems. First, if I insert or remove a disk while the program is running, it doesn't sound right. Is there something that I must do in my program to use the disk drive? My second question involves reading the mouse with IDCMP flags. I am trying to read a users input from a menu that is on the full screen. Unless I press the mouse button very slowly, I seem to get "ahead of it". In other words, If I press the button fast on option number one six times, and then press it on option two, the program continues reading the mouse as if I were still selecting option number one for two to three more presses. I would greatly appreciate any comments or suggestions. Thanks, Ed Greenwood