🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3482

EPM SetMenuAttribute() query

#3482
From: Jonathan Bruce Hacker
Date: Tue, 12 Jan 1993 05:49
25 lines
1026 bytes
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
Technical Details
Message-ID: <1itm4tINNhv0@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!hacker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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