From mint-bounce@lists.fishpool.fi Sat Aug 21 11:21:41 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:cc:references:message-id :x-mailer; bh=a9azlAvi970TKW4grO8CUkULiMTIn9d3TUDtkt7SEqw=; b=RwK27ZGdcyH0IiKkO7k3SxgMmskDFIBMLFIuatAJvFiKjE1XnrtMc3yfzyHDUUmIQm +6C3aIAF3vCFGVxqLTUiRX0tzGcrhzTa4RSnF5xSY7qO5e8L4EhaA+H6np8h+dcffGMl rzumHSDX5y7fHawAQKMB1sUmMzRN+roEF2Ht8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:cc :references:message-id:x-mailer; b=ssnz31gsuuiKZUOee1pjUEuBYIN52GkxuGH68yhXoudnDV8Wie2BHnoFkge0njkguJ UNgnISb2OIVTzDRAfztoRT3e9DoEPVJMd3KeyPzEmK2uIfKRFeZL5T+vsNEIJjcR8uM5 UPIDxLmrOAObQK9nqp9QnIBC/JdNFLDW5Rr0I= From: Peter Persson Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-2--845911202 Subject: [MiNT] XaAES: menus in windows - the Geneva way Date: Sat, 21 Aug 2010 17:19:26 +0200 In-Reply-To: <4C5F3DEB.3030103@chello.nl> Cc: mint@lists.fishpool.fi References: <162697.648254351-sendEmail@descaro> <4C59C37A.8090407@online.no> <4C5F1671.1080107@online.no> <4C5F2E60.8020509@chello.nl> <0EB389F9-5D48-4F08-B7C2-3F6578EF247B@gmail.com> <4C5F3DEB.3030103@chello.nl> Message-Id: X-Mailer: Apple Mail (2.1081) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: --Apple-Mail-2--845911202 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, Some time ago we had a colourful discussion about some shortcomings in = the XaAES API for menus in windows It seems Geneva has a new menu message for this, X_MN_SELECTED (0xE000): Portion Contents msg[0] 0xE000 msg[3] The object index of the menu title selected msg[4] The object index of the selected menu item msg[5], [6] The object tree of the menu item selected msg[7] The handle of the window containing the menu Perhaps it could be an idea to clone this API from Geneva? This probably = affects other parts of the implementation as well, but I haven't looked = into it. -- PeP= --Apple-Mail-2--845911202 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi,

Some = time ago we had a colourful discussion about some shortcomings in the = XaAES API for menus in windows

It seems Geneva = has a new menu message for this, X_MN_SELECTED = (0xE000):

PortionContents
msg[0]0xE000
msg[3]The object = index of the menu title selected
msg[4]The object = index of the selected menu item
msg[5], [6]The = object tree of the menu item selected
msg[7]The handle = of the window containing the = menu


<= div>Perhaps it could be an idea to clone this API from Geneva? This = probably affects other parts of the implementation as well, but I = haven't looked into it.

-- = PeP
= --Apple-Mail-2--845911202--