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
66722487
Commit
66722487
authored
Mar 25, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Simplify setting extended style for a list.
parent
59cb4ff6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
procpage.c
programs/taskmgr/procpage.c
+3
-6
No files found.
programs/taskmgr/procpage.c
View file @
66722487
...
...
@@ -445,7 +445,6 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
int
nXDifference
;
int
nYDifference
;
int
cx
,
cy
;
DWORD
extended_styles
;
switch
(
message
)
{
case
WM_INITDIALOG
:
...
...
@@ -467,11 +466,9 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
hProcessPageEndProcessButton
=
GetDlgItem
(
hDlg
,
IDC_ENDPROCESS
);
hProcessPageShowAllProcessesButton
=
GetDlgItem
(
hDlg
,
IDC_SHOWALLPROCESSES
);
/*
* Set the extended window styles for the list control
*/
extended_styles
=
SendMessageW
(
hProcessPageListCtrl
,
LVM_GETEXTENDEDLISTVIEWSTYLE
,
0
,
0
);
SendMessageW
(
hProcessPageListCtrl
,
LVM_SETEXTENDEDLISTVIEWSTYLE
,
0
,
extended_styles
|
LVS_EX_FULLROWSELECT
|
LVS_EX_HEADERDRAGDROP
);
/* Enable manual column reordering, set full select */
SendMessageW
(
hProcessPageListCtrl
,
LVM_SETEXTENDEDLISTVIEWSTYLE
,
LVS_EX_FULLROWSELECT
|
LVS_EX_HEADERDRAGDROP
,
LVS_EX_FULLROWSELECT
|
LVS_EX_HEADERDRAGDROP
);
AddColumns
();
...
...
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