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
d2a8f01a
Commit
d2a8f01a
authored
Feb 22, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember the currently active index before refreshing.
parent
d1a79ea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
main.c
programs/uninstaller/main.c
+2
-0
No files found.
programs/uninstaller/main.c
View file @
d2a8f01a
...
...
@@ -346,10 +346,12 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
case
WM_PAINT
:
{
int
prevsel
=
SendMessage
(
hwndList
,
LB_GETCURSEL
,
0
,
0
);
SendMessage
(
hwndList
,
LB_RESETCONTENT
,
0
,
0
);
SendMessage
(
hwndList
,
WM_SETREDRAW
,
FALSE
,
0
);
for
(
i
=
0
;
i
<
numentries
;
i
++
)
SendMessage
(
hwndList
,
LB_ADDSTRING
,
0
,
(
LPARAM
)
entries
[
i
].
descr
);
SendMessage
(
hwndList
,
LB_SETCURSEL
,
prevsel
,
0
);
SendMessage
(
hwndList
,
WM_SETREDRAW
,
TRUE
,
0
);
hdc
=
BeginPaint
(
hWnd
,
&
ps
);
EndPaint
(
hWnd
,
&
ps
);
...
...
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