Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Printing a view from code command P

 
   Soft32 Home -> Mac -> Programmer Help RSS
Next:  Learning C++ for OS 9?  
Author Message
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 1) Posted: Tue Jun 15, 2004 3:50 am
Post subject: Printing a view from code command P
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hello NG,

I can't figure out how I shoud print a view out from code. I have a webview inside of a
splitview and if I try to print it via print: or NSPrintOperation withView, I only get the
visible part of the view. If I use the command p key to print this webview I get the hole thing.
So what happens in code, if I press command p ?

Thank you for your time and help.
Back to top
Login to vote
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 2) Posted: Tue Jun 15, 2004 6:52 am
Post subject: Re: Printing a view from code command P [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

... found the solution now : You have to print the documentView of the frameView
(mainFrame) of the webview.

Florian
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Command-Option-D - Hello out there, In our application we have Command-Option-D assigned to a menu command. In Mac OS 10.1, our applicat...

Error -2110 in open command - Not sure which group this should go to, but I will post here because it is related to development. I am a newbie with r...

How to run a command line tool? - Hi, A few of the Apple code examples build command line tools rather than proper apps. How do you 'run' these apps? I...

How to get the command line tool directory (written in C) - How to get the path of the command line tool programaticaly ? (after the command line tool was called from the Terminal...

"Open" shell command not working in StartupItems - The "test_script" is build from Standard Tool project in Xcode. This tool fork and the child process execl th...

GUI wrapper for command line application - Hi, I'm trying to write a GUI wrapper for a command line application and am following Apple's Moriarity example. Laun...
       Soft32 Home -> Mac -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]