[SHELL32]

* Implemented CDefView::GetSpacing based on Wine. By Claudiu Mihail.

svn path=/trunk/; revision=53863
This commit is contained in:
Amine Khaldi 2011-09-26 15:43:19 +00:00
parent b592d6cd16
commit 6f431e5648

View file

@ -2406,7 +2406,19 @@ HRESULT STDMETHODCALLTYPE CDefView::GetItemPosition(LPCITEMIDLIST pidl, POINT *p
HRESULT STDMETHODCALLTYPE CDefView::GetSpacing(POINT *ppt)
{
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", this, ppt);
if (NULL == hWndList) return S_FALSE;
if (ppt)
{
const DWORD ret = SendMessageW(hWndList, LVM_GETITEMSPACING, 0, 0);
ppt->x = LOWORD(ret);
ppt->y = HIWORD(ret);
}
return S_OK;
}
HRESULT STDMETHODCALLTYPE CDefView::GetDefaultSpacing(POINT *ppt)