Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Q: How to add title in CHeaderCtrl

Posted on 1997-12-28
1
Medium Priority
?
282 Views
Last Modified: 2013-11-20
Hi all,

I have an application in which I use CListView to display data.  I add some columns using CHeaderCtrl, but how I can add title like in windows explorer.
ThanX
Mileta.
0
Comment
Question by:miletar
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 20 total points
ID: 1313139
If you want to set text to header control item you can use CHeaderCtrl::GetItem to get header item information, change pszText filed in HD_ITEM structure and set it back by CHeaderCtrl::SetItem
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question