[Q] Using FFI to call standard Windows dialogs

Stefan Matthias Aust sma at 3plus4.de
Sat Jul 1 08:49:25 UTC 2000


At 11:02 30.06.00 +0200, Torsten.Bergmann at phaidros.com wrote:

>I personally dont like the way Squeak calls API functions. In Smalltalk MT
>you only write:
>         WINAPI PrintDlg: PRINTDLG new
>
>That's a little bit easier ;)

But you can do this in Squeak, too.  Just implement it that way.  I'd 
probably suggest to use #printDlg: instead.  The disadvantage of one single 
WINAPI class is that this gets pretty large and will probably even beat 
class Morph in the number of methods then...

bye
--
Stefan Matthias Aust  //  Bevor wir fallen, fallen wir lieber auf





More information about the Squeak-dev mailing list