Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: shlview.cpp
- ===================================================================
- --- shlview.cpp (revision 53821)
- +++ shlview.cpp (working copy)
- @@ -2406,7 +2406,18 @@
- HRESULT STDMETHODCALLTYPE CDefView::GetSpacing(POINT *ppt)
- {
- - return E_NOTIMPL;
- + 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)
Add Comment
Please, Sign In to add comment