
19 Mar
2003
19 Mar
'03
11:03 a.m.
On Wed, Mar 19, 2003 at 04:40:13PM +0100, Peter Achten wrote:
What I am saying is that a good GUI program already tells the user (and therefore also the backend) what events it will respond to. It will disable/enable menu(elements), it will disable/enable window(elements). As a consequence the API has no need for an additional register/unregister mechanism. What about destroy, add-entry-to-list, repaint, ... events? The programmer must inform the CGA on what events (s)he needs. Ok, a disabled menu item will not trigger callback events but thats an orthogonal issue. IMHO we do need some general concept of callback/event handling. At least its a concept any backend can simulate, even Windows.
Axel.