🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Modifying Menu Items in OS/2? (probelm)

#337
From: Andreas Girgensohn
Date: Mon, 10 Aug 1992 17:37
11 lines
968 bytes
In article <1992Aug10.143156.16042@monu6.cc.monash.edu.au>
mdonalds@monu6.cc.monash.edu.au (Michael Donaldson) writes:
>[...]
>p.s.  PM's on-line help manual points to WinQuerySetMenuItemText?  -- I've
>      tried it and a linker error is spat out because it can not be found.

I haven't tried it but I found the following in the file pmwin.h:

#define WinSetMenuItemText(hwndMenu,id,psz) ((BOOL)WinSendMsg(hwndMenu,MM_SETITEMTEXT,MPFROMSHORT(id),MPFROMP(psz)))

Andreas
Technical Details
Message-ID: <1992Aug10.173732.20945@nynexst.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!nynexst.com!andreasg
References: <1992Aug10.143156.16042@monu6.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!nynexst.com!andreasg
From: andreasg@nynexst.com (Andreas Girgensohn)
Subject: Re: Modifying Menu Items in OS/2? (probelm)
Message-ID: <1992Aug10.173732.20945@nynexst.com>
Keywords: OS/2, Menu, Programmingn
Sender: news@nynexst.com (For News purposes)
Organization: Nynex Science and Technology
References: <1992Aug10.143156.16042@monu6.cc.monash.edu.au>
Date: Mon, 10 Aug 92 17:37:32 GMT
Lines: 11