Solved

Using HD_ITEM in Delphi

Posted on 2003-10-31
2
676 Views
Last Modified: 2007-12-19
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
Comment
Question by:jaygan
  • 2
2 Comments
 
LVL 33

Accepted Solution

by:
Slick812 earned 50 total points
ID: 9661997
you can add commctrl to your uses clause
0
 
LVL 33

Expert Comment

by:Slick812
ID: 9662006
the delphi var type is THDItem
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

706 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