mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[SHELL32]
* Implemented CDefView::GetSpacing based on Wine. By Claudiu Mihail. svn path=/trunk/; revision=53863
This commit is contained in:
parent
b592d6cd16
commit
6f431e5648
1 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue