Antwort: Member of CPrintInfo class (lpDevMode) not found!!

Patric.Weis at mycrona.de Patric.Weis at mycrona.de
Mon May 22 07:31:25 EDT 2000


Hi Lalas!

In OnBeginPrinting() try

    pInfo->m_pPD->GetDevMode()->dmTTOption = DMTT_BITMAP;

m_pPD is a pointer to the CPrintDialog object which contains the lpDevMode
options.
A description of DMTT_BITMAP can be found in the documentation of the
DEVMODE structure.

Hope this helps!

Patric Weis
MYCRONA GmbH


- - - Original Message - - -



                                                                                                                                          
                    Lalas Mackjones                                                                                                       
                    <milalas at yahoo.com>            An:     vtkusers at public.kitware.com                                                    
                    Gesendet von:                  Kopie:                                                                                 
                    owner-vtkusers at public.k        Thema:  Member of CPrintInfo class (lpDevMode) not found!!                             
                    itware.com                                                                                                            
                                                                                                                                          
                                                                                                                                          
                    15.05.00 15:35                                                                                                        
                                                                                                                                          
                                                                                                                                          



Hi, I'm using VC++ 6.0 and I would like to resolve my
problem with printing text on vtk, making:
 lpDevMode->dmTTOption=DMTT_BITMAP, as Hugues show.
I'm looking for lpDevMode in CPrintInfo class, on
archive afxext.h and i dont have found it. The
documentation of VC++, also, dont make references to
DMTT_BITMAP. Please help me, i'm a novice vtk user!

Thanks!

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------




--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list