Resource Trees Menu-Editor Edit Free String

The Documentation for ORCS
Resource Trees

# 4.4 Edit Alert Box

The alert editor can accommodate 5 lines of 40 characters and 3 buttons of 10 characters each (these are the restrictions which the AES pretends; if you want to bpyass these the string must be edited as free text). You can also select the icon for the alert box. There's also a test function for alert boxes. If the alert limits not expanded, no extended object types are used and the AES alert limits are not exceeded, then form_alert(...) will be used for the test. Otherwise, the builtin alert routine is used.

In the program, the text can be used as follows:

       char** Text;
       rsrc_gaddr(15, StringIndex, &Text);

It must be noted that the function rsrc_gaddr returns a pointer to a pointer that contains the text.

Resource Trees Menu-Editor Edit Free String