🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Modifying Menu Items in OS/2? (probelm)

#333
From: Michael Donaldson
Date: Mon, 10 Aug 1992 14:31
20 lines
1155 bytes
Does anyone out there know how to modify menu items, in OS/2's PM?  In Windows
you can use the ModifyMenu(hMenu, nPosition, wFlags, wlDNewItem, lpNewItem)
to not only change the state (activated, de-activated), but also the actual
text.  This is the particular problem:

	I want to change the text string of one of the menu items.  To
	do this I must be able to retrieve the actual string for that
	menu item.  I can not find a way how to do this...


I would greatly appreciate any information and help.

Thanks in advance,

Michael Donaldson.


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.
Technical Details
Message-ID: <1992Aug10.143156.16042@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!mdonalds

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!mdonalds
From: mdonalds@monu6.cc.monash.edu.au (Michael Donaldson)
Subject: Modifying Menu Items in OS/2? (probelm)
Message-ID: <1992Aug10.143156.16042@monu6.cc.monash.edu.au>
Summary: Need Help!!!
Keywords: OS/2, Menu, Programming
Organization: Monash University, Caulfield Campus
Date: Mon, 10 Aug 1992 14:31:56 GMT
Lines: 20