heap@bmc.uu.se (07/09/90)
I have also a problem with pulldown menus appearing at the wrong place on the screen: I want to be able to present a new pulldown menu in a menubar "on the fly". To achieve this I first tested to leave one of the cascadebuttons in the menubar unmanaged when entering the eventloop. When this cascadebutton eventually is managed, the button appears as expected at the correct position in the (middle of the) menubar. So far so good, but when this pulldown is selected for the first time the pulldown menu appears in the upper left corner of the screen (only the first time, on subsequent selects it appears correctly below the cascadebutton). If the "new" pulldown is the last one in the menubar no problems are observed. I also tested to create the new pulldown "from scratch" in the middle of the menubar by using the insertPosition resource of the menubar, but the same thing happens here too. Is it not supported to create new items in existing menus or is it a bug or have I done something stupid (again) ? I am using Motif 1.0 on the HP-300 (I have also tested my program on an Apollo DN3000 running Motif 1.0 with the same result). Thanks in advance for any help. -- ---------------------------------------------------------------------- Per Bengtsson, Dept. of Scientific Computing, Univ. of Uppsala, Sweden Internet: heap@tdb.uu.se Sunet/Decnet: tdb::heap ----------------------------------------------------------------------