Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 4th, 2004, 04:31 PM
Registered User
 
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing a ListView

Does anyone know if it is possible to print a ListView? I have the following code that prints a DataGrid:

PaintEventArgs myPaintArgs = new PaintEventArgs(args.Graphics, new Rectangle(new Point(0, 0), this.Size));
            this.InvokePaint(this, myPaintArgs);


This code prints the DataGrid perfectly but when I try to print a ListView I get a blank screen. Any help would be appreciated.

Regards,
Greg

Greg Partin
Software Engineer
 
Old October 12th, 2004, 02:22 PM
Authorized User
 
Join Date: May 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It seems a little difficult.:(

niuwei
 
Old May 4th, 2006, 08:19 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey guys!

I have the same problem now 2 years later...got the answer?-)






Similar Threads
Thread Thread Starter Forum Replies Last Post
ListView asters VB.NET 2002/2003 Basics 0 March 27th, 2008 05:00 AM
listView AristotleYu ASP.NET 2.0 Basics 0 May 11th, 2006 04:54 AM
capturing printing settings when printing reports nikolaosk Access VBA 0 February 8th, 2005 04:14 AM
ListView Control jlr27613 C++ Programming 1 September 14th, 2004 12:58 PM
listview control jakeone Beginning VB 6 1 March 9th, 2004 08:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.