Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwvax!tank!mimsy!tove.umd.edu!folta From: folta@tove.umd.edu (Wayne Folta) Newsgroups: comp.windows.x Subject: Three XView Questions Summary: How to do in XView what we had in SunView Message-ID: <24258@mimsy.umd.edu> Date: 8 May 90 01:42:33 GMT Sender: news@mimsy.umd.edu Reply-To: folta@tove.umd.edu (Wayne Folta) Distribution: usa Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 39 Could anyone please mail me with any answers to the following problems? We are in the midst of moving from SunView to XView, and we have hit some snags: 1. In SunView, we wrote event procedures so that the buttons in a panel would invert when the user moved the cursor over them. In XView this seems impossible to do... We can't seem to get LOC_MOVE events in a Panel... 2. We have to quickly convert some SunView code to XView that involves the use of pop-up menus. Since XView does not block on menu_show, what is the quick-and-dirtiest way to simulate blocking menus to get this thing up and running. (Unfortunately, it looks like a real bear to tear the code up into action procedures.) 3. In Open Windows 1.0, we have been unable to eliminate the frame menu. The frame menu is now under the control of the window manager, so how (short of NO_DECORATIONS, since we want a window title) can we get rid of the menu or modify it? (In case anyone is wondering, item #1 involves a scrollable panel of 250 buttons. As things of interest happen, the buttons appear, and the user can pick the button to get more details. This simulates a two-dimensional Choice List. The users are very paranoid about hitting the wrong button, hence the desired feedback. Actually, I am a little suspicious, since a standard pin-up menu does not provide feedback when it is pinned up, so maybe XView doesn't pass on MOVE events anymore--just DRAG events? And maybe Sun could add two-dimensional Choice Lists to panels, please? (Items are added across rows first, wrapping to new rows as required.) Item #3 arises because our users' management is very paranoid, and wants all the windows to be tiled, with no chance of windows getting lost behind other windows, etc.) -- Wayne Folta (folta@cs.umd.edu 128.8.128.8)