mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
fix compile with msvc
svn path=/trunk/; revision=18578
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>comctl32</library>
|
||||
<library>shell32</library>
|
||||
<file>toolspage.c</file>
|
||||
<file>srvpage.c</file>
|
||||
<file>msconfig.c</file>
|
||||
|
||||
@@ -9,6 +9,7 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
LV_COLUMN column;
|
||||
TCHAR szTemp[256];
|
||||
DWORD dwStyle;
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
@@ -16,7 +17,6 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
hServicesListCtrl = GetDlgItem(hDlg, IDC_TOOLS_LIST);
|
||||
hServicesDialog = hDlg;
|
||||
|
||||
DWORD dwStyle;
|
||||
dwStyle = SendMessage(hServicesListCtrl, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
|
||||
dwStyle = dwStyle | LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES;
|
||||
SendMessage(hServicesListCtrl, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, dwStyle);
|
||||
|
||||
@@ -47,6 +47,7 @@ ToolsPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
TCHAR szTemp2[256];
|
||||
LPNMITEMACTIVATE lpnmitem;
|
||||
LPNMHDR nmh;
|
||||
DWORD dwStyle;
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
@@ -54,7 +55,6 @@ ToolsPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
hToolsListCtrl = GetDlgItem(hDlg, IDC_TOOLS_LIST);
|
||||
hToolsDialog = hDlg;
|
||||
|
||||
DWORD dwStyle;
|
||||
dwStyle = SendMessage(hToolsListCtrl, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
|
||||
dwStyle = dwStyle | LVS_EX_FULLROWSELECT;
|
||||
SendMessage(hToolsListCtrl, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, dwStyle);
|
||||
|
||||
Reference in New Issue
Block a user