Solved

Using HD_ITEM in Delphi

Posted on 2003-10-31
2
685 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 34

Accepted Solution

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

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

790 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