Hi,
On Thu, 9 Dec 1999, Lars Skovlund wrote:
[menu item attributes]
> > > 0x6F - Key text
> 0x6F is the scan code, not the key text, BTW. AddMenu() derives it
> automagically from the given text.
What about modifiers? AddMenu uses '^' and '#' to identify key
combinations with the Ctrl modifier and Function keys; is there any way to
set that explicitly?
(IIRC, only the lower 8 bits are used for the scancode, so the upper 8
might be used to store any modifiers...)
> > > 0x71 - Tag value
> > > I don't really know about 0x71, but the only thing I can think of is
> > > that it is used internally to maintain the state of, for instance, Sound
> > > on/off - that's the only place I've seen it used.
> > Is there any kernel space handling of the tag value, or is it just read
> > from and written to from script space?
> It's all in kernel space, though the kernel uses the heap to store the
> menu structures. This doesn't mean we have to though - the scripts can't
> access them.
Ok, but is there something that absolutely needs to be done for the
tag value, or does it just have to be preserved in between SetMenu() and
GetMenu() calls?
BTW, thanks for the description- I'll update the docs accordingly.
llap,
Christoph