Solved

Q: How to add title in CHeaderCtrl

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 51
Complete beginner needs help making a cron job 9 117
dog bark java program 15 97
Line meaning 9 86
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

823 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