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

Re: [MiNT] Window with toolbar and redraw messages



On Sunday 01 December 2013 21:48:20 Helmut Karlowski wrote:
> Jean-François Lemaire, 01.12.2013 21:28:58:
> >> Is your prg informed of that?
> > 
> > That's the point. As far as I can see the program never receives a redraw
> > message for windows made up *only* of a toolbar. I guess from the point
> > of
> > view of the AES there's no reason to since there's no work area.
> 
> Do you receive WM_MOVED, WM_SIZED or anything else?

Yes, no problem.
 
> >> > I suspect there is no other way around a G_USERDEF in those cases.
> >> 
> >> I don't like that. But I'm currently no expert for toolbars.
> > 
> > I was thinking that maybe a wind_set() mode to ask that a specific window
> > should receive WM_REDRAW messages *every* time it is redrawn (even by
> > the AES)
> > would be useful.
> 
> Before adding XaAES-specific stuff I think we should look for some general
> solution.
> I have the impression that the toolbar-implementation in XaAES needs a
> rework anyway, but
> 
> 1. How do other AES handle this?

Well, as far as other AESes go the only ones that can handle toolbars are AES 
4.1, MyAES, NAES and XaAES. That leaves 2 that are relevant today. I have no 
idea how they handle this but I suspect it's the same.

> 2. I'm not an expert :)

Yes, but earlier you said "'currently' I'm not an expert". This leaves some 
room :-)
 
> Isn't it possible to define a work-area "below" the toolbar whose borders
> are just 1 pixel outside the toolbar or something?

I'm not sure what you mean by this.

Cheers,
JFL
-- 
Jean-François Lemaire