Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9958b80e
Commit
9958b80e
authored
Mar 22, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add IShellFolderView::SetRedraw implementation.
parent
61fc3f90
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
shlview.c
dlls/shell32/shlview.c
+8
-4
shlview.c
dlls/shell32/tests/shlview.c
+4
-0
No files found.
dlls/shell32/shlview.c
View file @
9958b80e
...
...
@@ -644,6 +644,7 @@ static INT CALLBACK fill_list( LPVOID ptr, LPVOID arg )
static
HRESULT
ShellView_FillList
(
IShellViewImpl
*
This
)
{
IShellFolderView
*
folderview
=
(
IShellFolderView
*
)
&
This
->
lpvtblShellFolderView
;
LPENUMIDLIST
pEnumIDList
;
LPITEMIDLIST
pidl
;
DWORD
fetched
;
...
...
@@ -676,9 +677,9 @@ static HRESULT ShellView_FillList(IShellViewImpl *This)
/* sort the array */
DPA_Sort
(
hdpa
,
ShellView_CompareItems
,
(
LPARAM
)
This
->
pSFParent
);
SendMessageW
(
This
->
hWndList
,
WM_SETREDRAW
,
FALSE
,
0
);
IShellFolderView_SetRedraw
(
folderview
,
FALSE
);
DPA_DestroyCallback
(
hdpa
,
fill_list
,
This
);
SendMessageW
(
This
->
hWndList
,
WM_SETREDRAW
,
TRUE
,
0
);
IShellFolderView_SetRedraw
(
folderview
,
TRUE
);
IEnumIDList_Release
(
pEnumIDList
);
...
...
@@ -3041,8 +3042,11 @@ static HRESULT WINAPI IShellFolderView_fnSetRedraw(
BOOL
redraw
)
{
IShellViewImpl
*
This
=
impl_from_IShellFolderView
(
iface
);
FIXME
(
"(%p)->(%d) stub
\n
"
,
This
,
redraw
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
redraw
);
SendMessageW
(
This
->
hWndList
,
WM_SETREDRAW
,
redraw
,
0
);
return
S_OK
;
}
static
HRESULT
WINAPI
IShellFolderView_fnGetSelectedCount
(
...
...
dlls/shell32/tests/shlview.c
View file @
9958b80e
...
...
@@ -568,6 +568,10 @@ static void test_IShellFolderView(void)
hr
=
IShellFolderView_MoveIcons
(
folderview
,
NULL
);
ok
(
hr
==
E_NOTIMPL
,
"got (0x%08x)
\n
"
,
hr
);
/* ::SetRedraw without list created */
hr
=
IShellFolderView_SetRedraw
(
folderview
,
TRUE
);
ok
(
hr
==
S_OK
,
"got (0x%08x)
\n
"
,
hr
);
IShellFolderView_Release
(
folderview
);
IShellView_Release
(
view
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment