From mint-bounce@lists.fishpool.fi Sat Mar 15 09:16:11 2008 X-Belgacom-Dynamic: yes From: "J. F. Lemaire" To: mint@lists.fishpool.fi Subject: Re: [MiNT] Menus in windows in XaAES Date: Sat, 15 Mar 2008 14:08:08 +0100 User-Agent: KMail/1.9.9 References: <23315756.140311205310130274.JavaMail.adm-moff@moffice3.nsc.no> In-Reply-To: <23315756.140311205310130274.JavaMail.adm-moff@moffice3.nsc.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200803151408.08279.jflemaire@skynet.be> X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: jflemaire@skynet.be Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: On Wednesday 12 March 2008, Jo Even Skarstein wrote: > I've been experimenting with menu bars in windows in XaAES, using the > dialtest.c example by Henk as reference. I can easily attach a menu > using wind_set/handle, WF_MENU, object), and I also receive correct > MN_SELECTED-messages. The problem is how to redraw the menu bar after > an item has been selected? menu_tnormal() doesn't work, and Henk's > sample code doesn't do any redrawing at all. Any suggestions on how > to do this? Have you looked up the XaAES sources? The file selector has a menu bar; this might give you a good example of real-world use. -- Jean-François Lemaire