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
5915b497
Commit
5915b497
authored
Aug 25, 2008
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Aug 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Use only SendMessageW in treeview.c.
parent
be43131b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
treeview.c
programs/regedit/treeview.c
+4
-4
No files found.
programs/regedit/treeview.c
View file @
5915b497
...
...
@@ -508,7 +508,7 @@ BOOL RefreshTreeView(HWND hwndTV)
WINE_TRACE
(
"
\n
"
);
hSelectedItem
=
TreeView_GetSelection
(
hwndTV
);
hcursorOld
=
SetCursor
(
LoadCursor
(
NULL
,
IDC_WAIT
));
SendMessage
(
hwndTV
,
WM_SETREDRAW
,
FALSE
,
0
);
SendMessage
W
(
hwndTV
,
WM_SETREDRAW
,
FALSE
,
0
);
hItem
=
TreeView_GetChild
(
hwndTV
,
TreeView_GetRoot
(
hwndTV
));
while
(
hItem
)
{
...
...
@@ -516,12 +516,12 @@ BOOL RefreshTreeView(HWND hwndTV)
hItem
=
TreeView_GetNextSibling
(
hwndTV
,
hItem
);
}
SendMessage
(
hwndTV
,
WM_SETREDRAW
,
TRUE
,
0
);
SendMessage
W
(
hwndTV
,
WM_SETREDRAW
,
TRUE
,
0
);
InvalidateRect
(
hwndTV
,
NULL
,
FALSE
);
SetCursor
(
hcursorOld
);
/* We reselect the currently selected node, this will prompt a refresh of the listview. */
SendMessage
(
hwndTV
,
TVM_SELECTITEM
,
TVGN_CARET
,
(
LPARAM
)
hSelectedItem
);
SendMessage
W
(
hwndTV
,
TVM_SELECTITEM
,
TVGN_CARET
,
(
LPARAM
)
hSelectedItem
);
return
TRUE
;
}
...
...
@@ -697,7 +697,7 @@ BOOL UpdateExpandingTree(HWND hwndTV, HTREEITEM hItem, int state)
done:
TreeView_SetItemState
(
hwndTV
,
hItem
,
TVIS_EXPANDEDONCE
,
TVIS_EXPANDEDONCE
);
SendMessage
(
hwndTV
,
WM_SETREDRAW
,
TRUE
,
0
);
SendMessage
W
(
hwndTV
,
WM_SETREDRAW
,
TRUE
,
0
);
SetCursor
(
hcursorOld
);
expanding
=
FALSE
;
HeapFree
(
GetProcessHeap
(),
0
,
keyPath
);
...
...
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