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

  • Here are the five core principles for monetizing your storage like never before and winning more customer applications than ever for your cloud and hosted services. These are your keys to the next generation data center.

  • Over 85% of enterprises will commit to multicloud architectures by 2018. The flexibility of the cloud will allow these organizations to more fully support DevOps and gain critical business insights. In this Solution Brief, you can explore how IT leadership can utilize VMware vRealize Suite as a unified, full-function platform to manage cloud infrastructure and application provisioning, monitoring, capacity planning, analytics, and more.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date