Contents page

SetStringInfo()


    USAGE

        void SetStringInfo(Window, GadgetID, String)

    FUNCTION

        Copies the supplied string into the buffer belonging to the StringInfo
        structure indicated by GadgetID.
        This provides a quick method for updating your string gadget without having
        to access the StringInfo structures directly.
        This routine will display the changed string.

    INPUTS

        Window    = Pointer to the window the StringInfo structure resides in.
        GadgetID  = Short integer ID of the gadget the string belongs to.
        String    = Character string (byte array of ASCII characters terminated with
                    a NULL).

    RESULT

        none (void)