🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #755

Re: Button callbacks

#755
From: Mark Linton
Date: Fri, 16 Oct 1992 17:11
18 lines
1385 bytes
In article <GRUNWALD.92Oct5144638@bullwinkle.cs.colorado.edu>, grunwald@bullwinkle.cs.colorado.edu (Dirk Grunwald) writes:
|> Currently, there's macros to make a field selection callback class &
|> file selection callback class,
 ...

|> However, I've found it easier to just specify the class w/o the generics...
|> 
|> The only problem is, I'd like to be able to use MI to do the same
|> thing. E.g., lets say I have a Glyph with represents some dialog
|> w/many call backs. I could inheriet from each of them & then pass one
|> pointer for all of the call backs.
|> 
|> But, if they all use the same ``callback procedure names'' (i.e. like
|> execute, above) then this won't work.

Even though the callbacks have the same name, they have
different signatures.  So I don't understand why multiple
inheritance would not work with the current definitions.
Technical Details
Message-ID: <1bmt49INN61i@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!sgiblab!sgigate!odin!fido!marktwain.rad.sgi.com!linton
References: <GRUNWALD.92Oct5144638@bullwinkle.cs.colorado.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!sgiblab!sgigate!odin!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Button callbacks
Date: 16 Oct 1992 17:11:37 GMT
Organization: sgi
Lines: 18
Distribution: world
Message-ID: <1bmt49INN61i@fido.asd.sgi.com>
References: <GRUNWALD.92Oct5144638@bullwinkle.cs.colorado.edu>
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com