From mint-bounce@lists.fishpool.fi  Wed Aug  4 13:34:17 2010
Message-ID: <87407.3238551034-sendEmail@descaro>
From: "Helmut Karlowski" <helmut.karlowski@ish.de>
To: "mint@lists.fishpool.fi" <mint@lists.fishpool.fi>
Cc: "helmut.karlowski@ish.de" <helmut.karlowski@ish.de>
Subject: Re: [MiNT] XaAES: menus in windows - window handle?
Date: Wed, 4 Aug 2010 17:33:09 +0000
X-Mailer: sendEmail-1.55
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----MIME delimiter for sendEmail-437653.279005648"
X-Antivirus: avast! (VPS 100804-0, 04.08.2010), Outbound message
X-Antivirus-Status: Clean
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: helmut.karlowski@ish.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

This is a multi-part message in MIME format. To properly display this message you need a MIME-Version 1.0 compliant Email program.

------MIME delimiter for sendEmail-437653.279005648
Content-Type: text/plain;
  charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable

Peter Persson wrote:

>
> 4 aug 2010 kl. 19.10 skrev Helmut Karlowski:
> > There is one parameter set to 0 - next to the pid, maybe one could this?
> >
> > But this is possibly quite sensible and has to be done carefully.
>
> Which one?
>
> msg[0] = message type
> msg[1] = ap_id
> msg[2] = message length (-16 if longer than 16 bytes).

I can't find where this is filled. From how I understand the source it should be
0, but I'm quite sure that I'm wrong.

> msg[3] = parent menu
> msg[4] = menu item
> msg[5] = menu tree (high word)
> msg[6] = menu tree (low word)
> msg[7] = parent object index

Don't give [3] or [7] any information?

It would not be very easy to make the message longer - it's a generic
funtion for all messages, better would be to misuse another parameter -
trying to avoid the risk that some other app may get confused.


-Helmut



------MIME delimiter for sendEmail-437653.279005648--


