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

Re: [MiNT] XaAES: Menus in windows vs. menu_tnormal()



On 08/10/2010 11:46 PM, Henk Robbers wrote:

>> obj_deselect(o + e->msg[3]);
>> obj_deselect(o + e->msg[4]);
>> wind_set(w->handle, WF_TOOLBAR, NULL, 0, 0);
>>
>> wind_set is the recommended way to redraw the menu widget according to
>> some docs I found (written by Henk I think). I've also made a comment in
> 
> Shouldnt that be WF_MENU?
> I can remember that a second call of wind_set redraws toolbars or
> menus but I forgot all the details.

The docs say WF_TOOLBAR, and that's what your dialtest.c use too.

> The reason why menu_tnormal is unsuitable is again the lack of
> window handle needed for redraw over rectangle list.

Yes, that make sense.

Jo Even