• Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    @coder:
    yes it is... but don't make the mistake by looking to the wrong examples.. because there are 2 different ways to code mui apps... but only one is the right. :-)

    For a proper MUI application you have to encapsule parts into classes and you have to use methods and attributes for inner program communication (notification between objects etc.). DON'T use RETURN-IDs in the mainloop. This is ugly and does not work well in the end.

    for learning look to the
    class1.c, class2.c, class3.c and InputEvent.c examples in MOS SDK. And look to PSI.c for more advanced technics. You'll also find old-style examples but like i said: use classes, methods and attributes and DON'T use RETURNIDs in the main loop. That's all you should have take care for... the rest is in the examples or in the autodocs. You'll probably need some time until you get used to it, but then it's fun. :-)

    regards,
    tokai
  • »06.02.04 - 21:13
    Profile Visit Website