• MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    Quote:

    Georg wrote:
    For example he may do:

    Code:

    struct TagItem tags[] = {MUIA_Something, bla, TAG_DONE};

    SetAttrsA(extclassobj, tags);
    ...



    MUI documentation, includes and examples never ever use SetAttrsA. The docs explicitly mention you are supposed to use SetAttrs.

    Quote:


    MUI contains far too few info on what things apps/classes may do and may not do.



    Agreed.

    Though your example mentions a 3rd party MCC which is known to be buggy. When in doubt, always check what the original and MUI's examples do. To me it was always clear that MUIM_Draw is the same as BeginRefresh and all of its restrictions do apply.

    IMO, most applications that have issues with MUI are either relying on undocumented behavior or simply are poorly designed.
  • »19.10.15 - 08:45
    Profile Visit Website