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

Re: [MiNT] Menus in windows in XaAES



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