Solved

Q: How to add title in CHeaderCtrl

Posted on 1997-12-28
1
234 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 10 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now