home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!hacker
- From: hacker@cco.caltech.edu (Jonathan Bruce Hacker)
- Newsgroups: comp.os.os2.programmer
- Subject: EPM SetMenuAttribute() query
- Date: 12 Jan 1993 05:49:17 GMT
- Organization: California Institute of Technology, Pasadena
- Lines: 25
- Message-ID: <1itm4tINNhv0@gap.caltech.edu>
- NNTP-Posting-Host: punisher.caltech.edu
-
- I have been experimenting with adding a new submenu to the EPM 5.51
- menu bar from a mystuff.e file.
-
- I am wondering how I change the menu attributes without editing the
- PROCESSMENUINIT command definition in the stdctrl.e file.
-
- Right now, in order to add checkmarks beside some menu entries, I
- added the following to stdctrl.e:
-
- defc PROCESSMENUINIT
- ...
-
- if menuid='mymenuid' then
- SetMenuAttribute('mymenuitem',8192,myflag)
- endif
-
- ...
-
-
- For portability reasons, I would like to move this out of stdctrl.e to
- mystuff.e, but how do I do it?
- --
- Jon Hacker
- Caltech, Pasadena CA
- hacker@tumbler-ridge.caltech.edu
-