Solved

refreshing list control header

Posted on 2001-06-18
1
174 Views
Last Modified: 2013-11-20
i have a list control on tab control . when i click on one tab it shows one header and when i click on second tab it shows another header.
but the problem is when i toggle between these tabs the header is not getting refreshed.
how to solve this problem?


0
Comment
Question by:rsviju
1 Comment
 
LVL 2

Accepted Solution

by:
mirec earned 50 total points
ID: 6205495
Try:

CHeaderCtrl* pHeaderCtrl = pListCtrl->GetHeaderCtrl();
pHeaderCtrl->Invalidate();

m.

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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