Ahh, this was about CommCtrl unit, sorry.Originally Posted by Luuk van Venrooij
In any case, I looked at Delphi 6 sources and it seems that Delphi doesn't include TabCtrl_InsertItem at all (neither in Windows unit nor in CommCtrl). Try to use this implementation (pasted from FPC Windows unit) :
[pascal]
function TabCtrl_InsertItem(hwnd:HWND;iItem : longint;var item : TC_ITEM) : LRESULT;
begin
TabCtrl_InsertItem:=SendMessage(hwnd,TCM_INSERTITE M,WPARAM(iItem),LPARAM(@item));
end;
[/pascal]
Bookmarks