CPrintListCtrl Class

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

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

  • Event Date: Tues, December 5, 2017 at 1:00 p.m. ET/10:00 a.m. PT Modernizing the enterprise data center to address raging demands for speed, performance, and capacity is a top directive for many IT organizations. While it's a known fact that upgrading to next-generation flash and solid-state drives (SSDs) can improve IT agility and application performance, the lower cost of legacy hard-disk drives (HDDs) has confined SSD use to only 10% of the data center. But that's changing. Don't guesstimate the …

  • Many enterprises are working with an IT architecture that's evolved over time. As business needs evolve, IT must decide whether to modernize incrementally, or all at once. Each approach has its benefits and drawbacks. Identity Management is key to modernizing IT; it plays a crucial role in migrating to cloud apps like Office 365 or HR information systems, building web and mobile apps, and opening developer access to business systems. Read how Okta's modern approach to identity management helps business lower …

Most Popular Programming Stories

More for Developers

RSS Feeds

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