# XTF2\_SAVRES

> [HTML Version](xtf2_savres.htm)

This flag causes XTREE/PCKLST to save the screen area unless the XTROP\_DELETE opcode is used, in which case it causes PCKLST to restore the area previously saved. Note that PCKLST will automatically save and restore the area of a pop-up, without using this flag, provided that the XTF\_MODELESS flag is not set. If XTF\_MODELESS is set, then you can set the XTF2\_SAVRES flag (in 2nd 4-byte flag word, i.e. flag2) in the first call to create the list display, and again in the final XTROP\_DELETE call to remove it. The flag currently does not affect XTREE (GUI mode), which does something like this automatically already.

**History**

2011 June, A-Shell 5.1.1221:  Added to A-Shell