CPrintListCtrl Class

Introduction

The CPrintListCtrl class is a standalone class which can be used to easy print a list control content (and even includes a "print preview" feature). This class is very easy to use and implement a lot of feature (like print column separator, line separator, head, column truncation, ...).

Using the CPrintListCtrl Class

Here's an example of how to use the CPrintListCtrl class:
CPrintListCtrl cPrintListCtrl;

cPrintListCtrl.SetListCtrl(<handle to list control>);
cPrintListCtrl.Print(GetSafeHwnd(), "List Control");
You can peer through the CPrintListCtrl code to see how to implement the CPrintListCtrl class.

Downloads

Download demo project - 28 Kb
Download source - 8 Kb


Comments

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • It's time high-level executives and IT compliance officers recognize and acknowledge the danger of malicious insiders, an increased attack surface and the potential for breaches caused by employee error or negligence. See why there is extra emphasis on insider threats.

  • Today's competitive marketplace requires the organization to frequently release and deploy applications at the pace of user demands, with reduced cost, risk, and increased quality. This book defines the basics of application release and deployment, and provides best practices for implementation with resources for a deeper dive. Inside you will find: The business and technical drivers behind automated application release and deployment. Evaluation guides for application release and deployment solutions. …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds