CPrintListCtrl Class

WEBINAR:
On-Demand

Application Security Testing: An Integral Part of DevOps


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

  • You must have javascript enabled in order to post comments.

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

Top White Papers and Webcasts

  • Using Internet of Things (IoT) technologies, colleges and universities are linking anything and everything to create new applications that elevate the campus experience. It's called a Smart Campus. And it's transforming campus life for students, faculty and visitors. When everything is connected, devices and applications can interact with users and with each other in ways that weren't possible before: digital classrooms, connected campus ID cards, connected lighting and building environmental systems and …

  • CEOs, CIOs, boards and shareholders are demanding digital transformation. They want their organizations to be more customer-focused, competitive and strategic to increase revenue. Data drives all of those aspects. A great first step in optimizing data use is moving data to the cloud. It can quickly show benefits. Here are six aspects of a cloud data management strategy that will help your organization more fully move, manage and use valuable data to successfully support digital transformation.

Most Popular Programming Stories

More for Developers

RSS Feeds

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