www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/19/13:51:45

Message-Id: <m0yFkNN-000S3AC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Doug Eleveld <deleveld AT dds DOT nl>, djgpp AT delorie DOT com
Date: Thu, 19 Mar 1998 15:51:41 +0000
MIME-Version: 1.0
Subject: Re: About GUI's
In-reply-to: <35107490.D0E859C3@dds.nl>

Doug Eleveld <deleveld AT dds DOT nl> wrote:
> Salvador Eduardo Tropea (SET) wrote:
> 
> > Additionally it must be done with C++ or some C approach to emulate the C++
> > flexibility to allow the members override. That's is: you must be able to
> > redefine part or all of the behavior of a button or any other control.
> > DEGUI uses call backs to do it, but it isn't enough, I have an application
> 
> Don't forget that you can derive objects from the degui classes and
> override the virtual msg_xxx functions to redefine the behaviour of an
> object.  i.e. the normal C++ way of interfacing gui objects.
> 
> Personally I think that that is a lot better way to do it than using
> callbacks because of better encapsulation, but callbacks are useful of
> you just want a small change in object behaviour and it's easier to set
> one callback than derive a object, fill in constructors, override
> virtual functions etc if you only want a small change. 

I know how to do it with your library (remmember my button and the e-mails we 
exchanged some month ago), but the message system used in TVision is much more 
flexible and even when the callbacks are easier to change small things the way 
you implemented.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019