Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by aoml
Thu, 23 Jul 1992 20:04
Printing a view in a scrollview...
Author: aoml
Date: Thu, 23 Jul 1992 20:04
Date: Thu, 23 Jul 1992 20:04
18 lines
1195 bytes
1195 bytes
I have a scrollview in an application of mine. I need to be able to print the section of the contentView that appears within the clip view. Here is the command I use to do this: [[[[NXApp keyWindow] view] superview] printPSCode:sender] This works great. But! I would like to put some sort of frame or bounding box around the view that is going to be printed out. Where should I implement the extra drawing? I guess the best place to put it would be inside of the clip view, but, alas, there is no source code anywhere for such a thing. It would appear that the clip view is created automatically, and I can not get to it. The second place I could put it, would be in the actual view, modifying the drawSelf:: method. But I am not sure about the best way to do this. Can someone (some people) please give me some pointers here? It would be appreciated. Thanks in advance, Kevin
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