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

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Organizations need a comprehensive patch management solution which provides endpoint protection beyond the typical operating system in order to effectively and efficiently minimize risks caused by the vulnerabilities that are inevitable in modern computing systems.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds