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

Re: [MiNT] Toolbar width inconsistency (bad rectangle list?)




Am Freitag, den 17.12.2010, 16:03 +0100 schrieb "J. F. Lemaire" <jflemaire@skynet.be>:

Most probalby not. The problem is that MagiC never implemented the AES
toolbar, so any application author who wants his app to run under
MagiC has to code his toolbar the hard way. This is a real PITA.

That's not true - you can also use WinDom toolbars. And after all, it's not that hard to code an not-so-AES-based / not-so-windom-toolbar-based toolbar with the windom component interface,just add 2 components to the window, the upper one is the toolbar, then you add some buttons to it with ObjcNDup ( I'm not so sure if the function is really called ObjcNDup..., and you don't really need that function if you just have one window open at a time...), the second component is your work area,... This is how I have done it... ( because I needed custom controls within the toolbar that have access to more events than the default WinDom toolbar provides, at least I didn't know about a GEM control that lets me mark regions of text..., so I have written my own text-input control).

Greets,
m