![]()  | 
 
v15.1.3.0 - CXTPReportRow::Draw -> new param | 
 
    Post Reply  
   | 
  
| Author | |
   
   FSauer  
   
   Groupie  
   Joined: 10 May 2006 Location: Germany Status: Offline Points: 96  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: v15.1.3.0 - CXTPReportRow::Draw  -> new paramPosted: 17 October 2011 at 10:52am  | 
 
| 
   
    
   Hi, 
   
  I use the function Draw of CXTPReportRow for a print routine like below: void CMyReportCtrl::PrintRow(CDC* pDC, CXTPReportRow* pRow, CRect rcRow, int nPreviewHeight){ if (pRow->IsGroupRow()) { pRow->Draw(pDC, rcRow, 0); return; } ... Since v15.1.3.0 Draw has new param. How should this param set? For any help I'll be glad.  | 
 |
![]()  | 
 |
   
   ABuenger  
   
   Newbie  
    
   Joined: 02 February 2006 Status: Offline Points: 1075  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 October 2011 at 7:50pm | 
 
   
   
 CDC *pDC, CRect rcRow, CRect rcClip, int nLeftOffset, CXTPReportRecordMergeItems &mergeItems, int nColumnFrom, int nColumnTo rcClip -> The clipping rectangle, rect of your paper / print preview nLeftOffset -> 0 for printing, only required for horizontal scrolling mergeItems -> If you don't have merged items just pass a CXTPReportRecordMergeItems object nColumnFrom -> 0 nColumnTo -> GetColumns()->GetCount()  | 
 |
| 
   
     
     Codejock support
     
   
   | 
 |
![]()  | 
 |
   
   FSauer  
   
   Groupie  
   Joined: 10 May 2006 Location: Germany Status: Offline Points: 96  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 October 2011 at 4:38am | 
 
| 
   
    
   thanks. I think, the new codejock version provides better print functionalities. I will open a new thread to ask about printing...
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |