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

Re: [MiNT] Window with toolbar and redraw messages

On Monday 02 December 2013 15:16:55 OL wrote:
> Le 01/12/2013 21:41, Jean-François Lemaire a écrit :
> > On Sunday 01 December 2013 21:28:58 Jean-François Lemaire wrote:
> >> For example, currently making windows with several toolbars is a pain,
> >> because only one is handled by the AES. You need to handle the others
> >> yourself. The ability to create a large toolbar with a "white box in the
> >> center" which would serve as a work area would provide the capability to
> >> position GEM objects either on the top, the sides, the bottom...
> > 
> > Actually, the XaAES "About" dialog or the file selector are good examples,
> > except that they're internal to XaAES.
> Really I not understand your problem,

The problem is that if the window *never* receives a redraw message because 
from the point of view of the AES it's a toolbar and nothing else, how are you 
gonna draw the part of that window that you want handled by your application 
and not the AES? You create the window, open it, the toolbar is drawn by the 
AES, but within the toolbar your so-called "work area" does not receive a 
redraw message -- unless its a USERDEF of course.

Right now, in order to have a work area inside an AES object you need a 
USERDEF. I think it's a limitation that could "easily" be overcome if that 
window could receive redraw messages even if the redrawing is done by the AES.

I hope it's clearer now ;-)

Jean-François Lemaire