Code: Select all
__DrawProc = function(hWnd,message,wParam,lParam)
if (message == 0x002C) then -- Measure Item, return true if processed.
end
if (message == 0x002B) then -- Draw Item, return true if processed.
end
end;
The WM_DRAWITEM message does the same thing.