Back

SetStringInfo()




    USAGE

    void SetStringInfo(Window, GadgetID, String)

    FUNCTION

    Copies the supplied string into the buffer belonging to the StringInfo structure indicated by the GadgetID.

    This provides a quick method for updating your string gadgets without having to access the StringInfo structures directly.

    INPUTS

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

    RESULT

    none (void)