• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 762
  • Last Modified:

Using HD_ITEM in Delphi

Hello,

I've recently found a solution of putting an image in the listview column header. The solution involves using HD_ITEM

     var HD: HD_ITEM;

Unfortunately, when I tried compiling this, Delphi 7 doesn't seem to recognize HD_ITEM. Any idea how I can make this work? Any units I need to add in the declaration?

Thanks!
0
jaygan
Asked:
jaygan
  • 2
1 Solution
 
Slick812Commented:
you can add commctrl to your uses clause
0
 
Slick812Commented:
the delphi var type is THDItem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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