Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Charles Robinson
Sat, 12 Dec 1992 04:23
Archiving Windows Query
Author: Charles Robinson
Date: Sat, 12 Dec 1992 04:23
Date: Sat, 12 Dec 1992 04:23
15 lines
1200 bytes
1200 bytes
I seem to have a misunderstanding on the proper -write and -read methods when desiring to save and restore a window with a scrolling view. If I have a scrolling view (as in the example from ScrollDoodScroll) I seem to have to do something like the following: In the -write method explicitly write out the window's content view as well as the window itself. In the -read or -awake method explicity reset the content view ala [mywindow setContentView:savedContentView] Using gdb I noted that before the setContentView call in -read, the address of the window's content view and my restored content view were not the same. But, I thought that saving the window saved ALL its views. I am obviously missing something. I am using the above kludge work around but ...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads