From mint-bounce@lists.fishpool.fi Sun Aug 8 19:31:33 2010 X-SourceIP: 77.251.205.36 Message-ID: <4C5F3DEB.3030103@chello.nl> Date: Mon, 09 Aug 2010 01:29:47 +0200 From: Henk Robbers User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] XaAES: menus in windows - window handle? References: <162697.648254351-sendEmail@descaro> <4C59C37A.8090407@online.no> <4C5F1671.1080107@online.no> <4C5F2E60.8020509@chello.nl> <0EB389F9-5D48-4F08-B7C2-3F6578EF247B@gmail.com> In-Reply-To: <0EB389F9-5D48-4F08-B7C2-3F6578EF247B@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=ZDt3ILgE3VX9xkJc7+9REBIC4hFTL6V7NAq0V56QRNQ= c=1 sm=0 a=nvqgrWAxiF8A:10 a=8nJEP1OIZ-IA:10 a=HpkHhv1iAAAA:20 a=JxdZti4tAAAA:8 a=Mf9Tfy7BCkpBUQBLOHAA:9 a=8M5RYDr7_ZqMR3K9WkWd519emxQA:4 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: h.robbers@chello.nl Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: 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