home *** CD-ROM | disk | FTP | other *** search
- Path: ifi.uio.no!usenet
- From: larshau@nipling.ifi.uio.no (Lars Haugseth)
- Newsgroups: comp.sys.amiga.programmer
- Subject: MagicMenu + ClearMenuStrip/ResetMenuStrip != TRUE
- Date: 20 Mar 1996 16:25:36 +0100
- Organization: Dept. of Informatics, University of Oslo, Norway
- Message-ID: <y9fag1b947j.fsf@nipling.ifi.uio.no>
- NNTP-Posting-Host: nipling.ifi.uio.no
- X-Newsreader: Gnus v5.1
-
-
- When my window receives a IDCMP_MENUVERIFY messages,
- it does a ClearMenuStrip(), updates the checkmarks of
- the menus, then it does a ResetMenuStrip() before
- replying the message. This works fine until you run
- MagicMenu.
-
- Question:
- Is it illegal to change the CHECKED state of a MenuItem
- without doing ClearMenuStrip/ResetMenuStrip? (After
- getting the IDCMP_MENUVERIFY message and before replying
- it).
-
- If I do this, it will work with MagicMenu, but I will get
- deadlocks when doing menu multiselections.
-
- Is there a way to get this to work properly? And yes, I
- really need to update the menus before they are displayed,
- because the checkmarks represents different options that
- can be changed anywhere in the code, not only by the user
- in the menus.
-
-
- --
- Lars Haugseth <larshau@ifi.uio.no>
-
-