[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

refreshing list control header

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
rsviju
Asked:
rsviju
1 Solution
 
mirecCommented:
Try:

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

m.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now