There is one CDoc for the task's border: Fs->border_doc. There is a pair for the task's client area: Fs->put_doc and Fs->disp lay_doc. You can, optionally, do double buffering, otherwise Fs->put_doc is the same as Fs->display_doc. See ::/Demo/Spy.CC.