[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES: menus in windows - window handle?



Peter Persson wrote:

In my case, I needed to clone the menu resource anyway, since the contents of the menu depends on the contents of the window.


That is a valid reason. I was thinking you did it only for the
sake of identification of window.

Generally spoken, because of the lack of room for a window handle
in the MN_SELECTED message it is better to allow it only on
the top window.

I agree that the implentation of window menu messages is defective.
(My fault? I cant remember. Maybe because of N.AES?)

Window menus should have gotten their own message identifier.

--
Groeten; Regards.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler: TT-Digger;  http://digger.atari.org
A Home Cooked C compiler:      AHCC;  http://ahcc.atari.org