ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
July 2007
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
20 participants
707 discussions
Start a n
N
ew thread
[greatlrd] 27989: fixing the langues show right, no more wrong langues show ; )
by greatlrd@svn.reactos.org
Author: greatlrd Date: Sun Jul 29 13:04:53 2007 New Revision: 27989 URL:
http://svn.reactos.org/svn/reactos?rev=27989&view=rev
Log: fixing the langues show right, no more wrong langues show ;) Modified: trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild Modified: trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shdocvw/shdocvw.…
============================================================================== --- trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild (original) +++ trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild Sun Jul 29 13:04:53 2007 @@ -1,4 +1,4 @@ -<module name="shdocvw" type="win32dll" baseaddress="${BASEADDRESS_SHDOCVW}" installbase="system32" installname="shdocvw.dll" usewrc="false" allowwarnings="true"> +<module name="shdocvw" type="win32dll" baseaddress="${BASEADDRESS_SHDOCVW}" installbase="system32" installname="shdocvw.dll" allowwarnings="true"> <autoregister infsection="OleControlDlls" type="Both" /> <importlibrary definition="shdocvw.spec.def" /> <include base="shdocvw">.</include>
17 years, 4 months
1
0
0
0
[greatlrd] 27988: fixing the langues show right, no more wrong langues show ; )
by greatlrd@svn.reactos.org
Author: greatlrd Date: Sun Jul 29 13:03:29 2007 New Revision: 27988 URL:
http://svn.reactos.org/svn/reactos?rev=27988&view=rev
Log: fixing the langues show right, no more wrong langues show ;) Modified: trunk/reactos/base/shell/cmd/cmd.rbuild Modified: trunk/reactos/base/shell/cmd/cmd.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/cmd.rbuild?…
============================================================================== --- trunk/reactos/base/shell/cmd/cmd.rbuild (original) +++ trunk/reactos/base/shell/cmd/cmd.rbuild Sun Jul 29 13:03:29 2007 @@ -63,7 +63,7 @@ <file>window.c</file> </compilationunit> </module> -<module name="cmd" type="win32cui" installbase="system32" installname="cmd.exe" usewrc="false"> +<module name="cmd" type="win32cui" installbase="system32" installname="cmd.exe" > <include base="ReactOS">include/reactos/wine</include> <include base="cmd">.</include> <define name="__USE_W32API" />
17 years, 4 months
1
0
0
0
[greatlrd] 27987: fixing the langues show right, no more wrong langues show ; )
by greatlrd@svn.reactos.org
Author: greatlrd Date: Sun Jul 29 13:02:29 2007 New Revision: 27987 URL:
http://svn.reactos.org/svn/reactos?rev=27987&view=rev
Log: fixing the langues show right, no more wrong langues show ;) Modified: trunk/reactos/base/system/expand/expand.rbuild Modified: trunk/reactos/base/system/expand/expand.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/expand/expand.…
============================================================================== --- trunk/reactos/base/system/expand/expand.rbuild (original) +++ trunk/reactos/base/system/expand/expand.rbuild Sun Jul 29 13:02:29 2007 @@ -1,6 +1,6 @@ <?xml version="1.0"?> <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd"> -<module name="expand" type="win32cui" installbase="system32" installname="expand.exe" usewrc="false"> +<module name="expand" type="win32cui" installbase="system32" installname="expand.exe" > <include base="ReactOS">include/reactos/wine</include> <include base="expand">.</include> <define name="__USE_W32API" />
17 years, 4 months
1
0
0
0
[greatlrd] 27986: fixing the langues show right, no more germany in english ; )
by greatlrd@svn.reactos.org
Author: greatlrd Date: Sun Jul 29 12:58:24 2007 New Revision: 27986 URL:
http://svn.reactos.org/svn/reactos?rev=27986&view=rev
Log: fixing the langues show right, no more germany in english ;) Modified: trunk/reactos/dll/cpl/sysdm/sysdm.rbuild Modified: trunk/reactos/dll/cpl/sysdm/sysdm.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sysdm.rbuild…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/sysdm.rbuild (original) +++ trunk/reactos/dll/cpl/sysdm/sysdm.rbuild Sun Jul 29 12:58:24 2007 @@ -1,4 +1,4 @@ -<module name="sysdm" type="win32dll" extension=".cpl" baseaddress="${BASEADDRESS_SYSDM}" installbase="system32" installname="sysdm.cpl" usewrc="false" unicode="yes"> +<module name="sysdm" type="win32dll" extension=".cpl" baseaddress="${BASEADDRESS_SYSDM}" installbase="system32" installname="sysdm.cpl" unicode="yes"> <importlibrary definition="sysdm.def" /> <include base="sysdm">.</include> <define name="__REACTOS__" />
17 years, 4 months
1
0
0
0
[weiden] 27985: Handle error case more correctly
by weiden@svn.reactos.org
Author: weiden Date: Sun Jul 29 12:16:50 2007 New Revision: 27985 URL:
http://svn.reactos.org/svn/reactos?rev=27985&view=rev
Log: Handle error case more correctly Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/virtmem.c (original) +++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 12:16:50 2007 @@ -310,7 +310,7 @@ field to the previous value */ SetDlgItemInt(pVirtMem->hSelf, IDC_INITIALSIZE, - Value, + pVirtMem->Pagefile[Index].InitialValue, FALSE); } else @@ -326,7 +326,7 @@ field to the previous value */ SetDlgItemInt(pVirtMem->hSelf, IDC_MAXSIZE, - Value, + pVirtMem->Pagefile[Index].MaxValue, FALSE); } else
17 years, 4 months
1
0
0
0
[weiden] 27984: Simplify code by using dialog functions
by weiden@svn.reactos.org
Author: weiden Date: Sun Jul 29 12:14:38 2007 New Revision: 27984 URL:
http://svn.reactos.org/svn/reactos?rev=27984&view=rev
Log: Simplify code by using dialog functions Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/virtmem.c (original) +++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 12:14:38 2007 @@ -283,6 +283,8 @@ OnSet(PVIRTMEM pVirtMem) { INT Index; + UINT Value; + BOOL bTranslated; pVirtMem->bSave = TRUE; @@ -294,28 +296,41 @@ if(Index < pVirtMem->Count) { - TCHAR szText[255]; - /* check if custom settings are checked */ - if(SendDlgItemMessage(pVirtMem->hSelf, - IDC_CUSTOM, - BM_GETCHECK, - 0, - 0) == BST_CHECKED) - { - SendDlgItemMessage(pVirtMem->hSelf, - IDC_INITIALSIZE, - WM_GETTEXT, - 254, - (LPARAM)szText); - pVirtMem->Pagefile[Index].InitialValue = _ttoi(szText); - - SendDlgItemMessage(pVirtMem->hSelf, - IDC_MAXSIZE, - WM_GETTEXT, - 254, - (LPARAM)szText); - pVirtMem->Pagefile[Index].MaxValue = _ttoi(szText); + if(IsDlgButtonChecked(pVirtMem->hSelf, + IDC_CUSTOM) == BST_CHECKED) + { + Value = GetDlgItemInt(pVirtMem->hSelf, + IDC_INITIALSIZE, + &bTranslated, + FALSE); + if (!bTranslated) + { + /* FIXME: Show error message instead of setting the edit + field to the previous value */ + SetDlgItemInt(pVirtMem->hSelf, + IDC_INITIALSIZE, + Value, + FALSE); + } + else + pVirtMem->Pagefile[Index].InitialValue = Value; + + Value = GetDlgItemInt(pVirtMem->hSelf, + IDC_MAXSIZE, + &bTranslated, + FALSE); + if (!bTranslated) + { + /* FIXME: Show error message instead of setting the edit + field to the previous value */ + SetDlgItemInt(pVirtMem->hSelf, + IDC_MAXSIZE, + Value, + FALSE); + } + else + pVirtMem->Pagefile[Index].MaxValue = Value; } else { @@ -323,11 +338,8 @@ pVirtMem->Pagefile[Index].InitialValue = pVirtMem->Pagefile[Index].MaxValue = 0; // check to see if this drive is used for a paging file - if (SendDlgItemMessage(pVirtMem->hSelf, - IDC_NOPAGEFILE, - BM_GETCHECK, - 0, - 0) == BST_UNCHECKED) + if (IsDlgButtonChecked(pVirtMem->hSelf, + IDC_NOPAGEFILE) == BST_UNCHECKED) { pVirtMem->Pagefile[Index].bUsed = TRUE; } @@ -343,7 +355,6 @@ static BOOL OnSelChange(PVIRTMEM pVirtMem) { - TCHAR szCustVals[255]; INT Index; Index = (INT)SendDlgItemMessage(pVirtMem->hSelf, @@ -362,25 +373,19 @@ EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_MAXSIZE), TRUE); EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_INITIALSIZE), TRUE); - _itot(pVirtMem->Pagefile[Index].InitialValue , szCustVals, 10); - SendDlgItemMessage(pVirtMem->hSelf, - IDC_INITIALSIZE, - WM_SETTEXT, - 0, - (LPARAM)szCustVals); - - _itot(pVirtMem->Pagefile[Index].MaxValue, szCustVals, 10); - SendDlgItemMessage(pVirtMem->hSelf, - IDC_MAXSIZE, - WM_SETTEXT, - 0, - (LPARAM)szCustVals); - - SendDlgItemMessage(pVirtMem->hSelf, - IDC_CUSTOM, - BM_SETCHECK, - 1, - 0); + SetDlgItemInt(pVirtMem->hSelf, + IDC_INITIALSIZE, + pVirtMem->Pagefile[Index].InitialValue, + FALSE); + + SetDlgItemInt(pVirtMem->hSelf, + IDC_MAXSIZE, + pVirtMem->Pagefile[Index].MaxValue, + FALSE); + + CheckDlgButton(pVirtMem->hSelf, + IDC_CUSTOM, + BST_CHECKED); } else { @@ -391,19 +396,15 @@ /* is it system managed */ if(pVirtMem->Pagefile[Index].bUsed) { - SendDlgItemMessage(pVirtMem->hSelf, - IDC_SYSMANSIZE, - BM_SETCHECK, - 1, - 0); + CheckDlgButton(pVirtMem->hSelf, + IDC_SYSMANSIZE, + BST_CHECKED); } else { - SendDlgItemMessage(pVirtMem->hSelf, - IDC_NOPAGEFILE, - BM_SETCHECK, - 1, - 0); + CheckDlgButton(pVirtMem->hSelf, + IDC_NOPAGEFILE, + BST_CHECKED); } } }
17 years, 4 months
1
0
0
0
[weiden] 27983: Fix buffer overflow on unicode builds introduced in r27982
by weiden@svn.reactos.org
Author: weiden Date: Sun Jul 29 11:59:17 2007 New Revision: 27983 URL:
http://svn.reactos.org/svn/reactos?rev=27983&view=rev
Log: Fix buffer overflow on unicode builds introduced in r27982 Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/virtmem.c (original) +++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 11:59:17 2007 @@ -98,7 +98,7 @@ INT DriveLen; INT PgCnt = 0; - ZeroMemory(&szDrives, sizeof(szDrives) * sizeof(TCHAR)); + ZeroMemory(szDrives, sizeof(szDrives)); DriveLen = GetLogicalDriveStrings(1023, szDrives); @@ -116,7 +116,7 @@ DrivePtr = _tcsupr(DrivePtr); /* copy the 'X:' portion */ - lstrcpyn(szDrive, DrivePtr, 3); + lstrcpyn(szDrive, DrivePtr, sizeof(szDrive) / sizeof(TCHAR)); if(GetDriveType(DrivePtr) == DRIVE_FIXED) { @@ -247,8 +247,8 @@ static VOID SetListBoxColumns(HWND hwndListBox) { - INT tabs[2] = {30, 170}; - SendMessage(hwndListBox, LB_SETTABSTOPS, (WPARAM)2, (LPARAM)(LPINT) &tabs[0]); + const INT tabs[2] = {30, 170}; + SendMessage(hwndListBox, LB_SETTABSTOPS, (WPARAM)2, (LPARAM)&tabs[0]); }
17 years, 4 months
1
0
0
0
[cwittich] 27982: fix a crash and the selchange notification code
by cwittich@svn.reactos.org
Author: cwittich Date: Sun Jul 29 04:27:08 2007 New Revision: 27982 URL:
http://svn.reactos.org/svn/reactos?rev=27982&view=rev
Log: fix a crash and the selchange notification code Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/virtmem.c (original) +++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 04:27:08 2007 @@ -9,6 +9,7 @@ #include "precomp.h" +static BOOL OnSelChange(PVIRTMEM pVirtMem); static LPCTSTR lpKey = _T("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management"); static BOOL @@ -89,7 +90,7 @@ { TCHAR szDrives[1024]; // all drives LPTSTR DrivePtr = szDrives; - TCHAR szDrive[4]; // single drive + TCHAR szDrive[3]; // single drive TCHAR szVolume[MAX_PATH]; TCHAR *szDisplayString; INT InitialSize = 0; @@ -97,10 +98,11 @@ INT DriveLen; INT PgCnt = 0; + ZeroMemory(&szDrives, sizeof(szDrives) * sizeof(TCHAR)); DriveLen = GetLogicalDriveStrings(1023, szDrives); - szDisplayString = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (MAX_PATH * 2 + 70) * sizeof(TCHAR)); + szDisplayString = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (MAX_PATH * 2 + 69) * sizeof(TCHAR)); if (szDisplayString == NULL) return; @@ -178,6 +180,7 @@ SendMessage(pVirtMem->hListBox, LB_SETCURSEL, (WPARAM)0, (LPARAM)0); HeapFree(GetProcessHeap(), 0, szDisplayString); pVirtMem->Count = PgCnt; + OnSelChange(pVirtMem); } @@ -338,13 +341,10 @@ static BOOL -OnSelChange(PVIRTMEM pVirtMem, - LPNMLISTVIEW pnmv) +OnSelChange(PVIRTMEM pVirtMem) { TCHAR szCustVals[255]; INT Index; - - UNREFERENCED_PARAMETER(pnmv); Index = (INT)SendDlgItemMessage(pVirtMem->hSelf, IDC_PAGEFILELIST, @@ -519,25 +519,18 @@ case IDC_SET: OnSet(pVirtMem); return TRUE; + + case IDC_PAGEFILELIST: + switch HIWORD(wParam) + { + case LBN_SELCHANGE: + OnSelChange(pVirtMem); + return TRUE; + } + break; } } break; - - case WM_NOTIFY: - { - LPNMHDR pnmhdr = (LPNMHDR)lParam; - - switch (pnmhdr->code) - { - case LVN_ITEMCHANGED: - { - LPNMLISTVIEW pnmv = (LPNMLISTVIEW) lParam; - - OnSelChange(pVirtMem, pnmv); - } - } - } - break; } return FALSE;
17 years, 4 months
1
0
0
0
[cwittich] 27981: fix crash on linux systems when an invalid backend is specified
by cwittich@svn.reactos.org
Author: cwittich Date: Sun Jul 29 03:38:59 2007 New Revision: 27981 URL:
http://svn.reactos.org/svn/reactos?rev=27981&view=rev
Log: fix crash on linux systems when an invalid backend is specified Modified: trunk/reactos/tools/rbuild/project.cpp Modified: trunk/reactos/tools/rbuild/project.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/project.cpp?r…
============================================================================== --- trunk/reactos/tools/rbuild/project.cpp (original) +++ trunk/reactos/tools/rbuild/project.cpp Sun Jul 29 03:38:59 2007 @@ -109,6 +109,7 @@ head (NULL), configuration (configuration) { + _backend = NULL; ReadXml(); }
17 years, 4 months
1
0
0
0
[cwittich] 27980: -replace the ListView in swappage dialog with a ListBox -fix some minor issues
by cwittich@svn.reactos.org
Author: cwittich Date: Sun Jul 29 02:34:42 2007 New Revision: 27980 URL:
http://svn.reactos.org/svn/reactos?rev=27980&view=rev
Log: -replace the ListView in swappage dialog with a ListBox -fix some minor issues Modified: trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc trunk/reactos/dll/cpl/sysdm/lang/en-US.rc trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc trunk/reactos/dll/cpl/sysdm/precomp.h trunk/reactos/dll/cpl/sysdm/virtmem.c Modified: trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/de-DE.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc Sun Jul 29 02:34:42 2007 @@ -185,9 +185,7 @@ BEGIN LTEXT "Laufwerk [Bezeichnung]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Auslagerungsdatei (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Größe der Auslagerungsdatei für das gewählte Laufwerk", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Laufwerk:", IDC_STATIC, 20, 80, 40, 8 LTEXT "", IDC_DRIVE, 105, 81, 100, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/en-US.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/en-US.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/en-US.rc Sun Jul 29 02:34:42 2007 @@ -177,9 +177,7 @@ BEGIN LTEXT "Drive [Volume Label]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Paging File Size (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Paging file size for selected drive", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Drive:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/fr-FR.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc Sun Jul 29 02:34:42 2007 @@ -181,10 +181,7 @@ BEGIN LTEXT "Lecteur [Nom de Volume]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Taille de fichier swap (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - - GROUPBOX "Taille de fichier swap pour le disque sélectionné", IDC_DRIVEGROUP, 10, 70, 204, 104 + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Taille de fichier swap pour le disque sélectionné", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Lecteur :", IDC_STATIC, 20, 80, 30, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 LTEXT "Espace disponible :", IDC_STATIC, 20, 92, 66, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/id-ID.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc Sun Jul 29 02:34:42 2007 @@ -177,10 +177,7 @@ BEGIN LTEXT "Drive [Label Volume]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Ukuran File Paging (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - - GROUPBOX "Ukuran file paging untuk drive yang dipilih", IDC_DRIVEGROUP, 10, 70, 204, 104 + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Ukuran file paging untuk drive yang dipilih", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Drive:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 LTEXT "Ruang tersedia:", IDC_STATIC, 20, 92, 56, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/it-IT.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc Sun Jul 29 02:34:42 2007 @@ -177,9 +177,7 @@ BEGIN LTEXT "Disco [Etichetta Volume]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Dimensione del file di paginazione (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Dimensione del file di paginazione per il disco selezionato", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Disco:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/pl-PL.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc Sun Jul 29 02:34:42 2007 @@ -183,10 +183,7 @@ BEGIN LTEXT "&Dysk [Etykieta woluminu]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Rozmiar pliku stronicowania (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - - GROUPBOX "Rozmiar pliku stronicowania dla wybranego dysku", IDC_DRIVEGROUP, 10, 70, 204, 104 + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Rozmiar pliku stronicowania dla wybranego dysku", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Dysk:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 LTEXT "Dostêpne miejsce:", IDC_STATIC, 20, 92, 56, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ru-RU.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc Sun Jul 29 02:34:42 2007 @@ -177,9 +177,7 @@ BEGIN LTEXT "Äèñê [ìåòêà òîìà]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Ôàéë ïîäêà÷êè (MB)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Ðàçìåð ôàéëà ïîäêà÷êè äëÿ âûáðàííîãî äèñêà", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Äèñê:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 Modified: trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/uk-UA.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc (original) +++ trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc Sun Jul 29 02:34:42 2007 @@ -185,9 +185,7 @@ BEGIN LTEXT "Äèñê [ì³òêà òîìó]", IDC_STATIC, 12, 5, 96, 9 LTEXT "Ôàéë äîâàíòàæåííÿ (ÌÁ)", IDC_STATIC, 115, 5, 96, 9 - CONTROL "", IDC_PAGEFILELIST, "SysListView32", LVS_REPORT | LVS_NOCOLUMNHEADER | WS_TABSTOP, - 10, 16, 204, 52, WS_EX_CLIENTEDGE - + LISTBOX IDC_PAGEFILELIST, 10, 16, 204, 52, LBS_NOTIFY | LBS_USETABSTOPS GROUPBOX "Ðîçì³ð ôàéëó äîâàíòàæåííÿ äëÿ âèáðàíîãî äèñêà", IDC_DRIVEGROUP, 10, 70, 204, 104 LTEXT "Äèñê:", IDC_STATIC, 20, 80, 20, 8 LTEXT "", IDC_DRIVE, 88, 81, 100, 9 Modified: trunk/reactos/dll/cpl/sysdm/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/precomp.h?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/precomp.h (original) +++ trunk/reactos/dll/cpl/sysdm/precomp.h Sun Jul 29 02:34:42 2007 @@ -58,7 +58,7 @@ typedef struct _VIRTMEM { HWND hSelf; - HWND hListView; + HWND hListBox; LPTSTR szPagingFiles; TCHAR szDrive[10]; INT Count; Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/virtmem.c (original) +++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 02:34:42 2007 @@ -89,8 +89,9 @@ { TCHAR szDrives[1024]; // all drives LPTSTR DrivePtr = szDrives; - TCHAR szDrive[MAX_PATH]; // single drive + TCHAR szDrive[4]; // single drive TCHAR szVolume[MAX_PATH]; + TCHAR *szDisplayString; INT InitialSize = 0; INT MaxSize = 0; INT DriveLen; @@ -99,9 +100,12 @@ DriveLen = GetLogicalDriveStrings(1023, szDrives); + szDisplayString = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (MAX_PATH * 2 + 70) * sizeof(TCHAR)); + if (szDisplayString == NULL) + return; + while (DriveLen != 0) { - LVITEM Item; INT Len; Len = lstrlen(DrivePtr) + 1; @@ -134,12 +138,8 @@ lstrcpy(pVirtMem->Pagefile[PgCnt].szDrive, szDrive); } - /* fill out the listview */ - ZeroMemory(&Item, sizeof(Item)); - Item.mask = LVIF_TEXT; - Item.iItem = ListView_GetItemCount(pVirtMem->hListView); - Item.pszText = szDrive; - (void)ListView_InsertItem(pVirtMem->hListView, &Item); + _tcscpy(szDisplayString, szDrive); + _tcscat(szDisplayString, _T("\t")); /* set a volume label if there is one */ if (GetVolumeInformation(DrivePtr, @@ -154,12 +154,8 @@ if (szVolume[0] != _T('\0')) { TCHAR szVol[MAX_PATH + 2]; - _stprintf(szVol, _T("[%s]"), szVolume); - - Item.iSubItem = 1; - Item.pszText = szVol; - (void)ListView_InsertItem(pVirtMem->hListView, &Item); + _tcscat(szDisplayString, szVol); } } @@ -168,18 +164,19 @@ TCHAR szSize[64]; _stprintf(szSize, _T("%i - %i"), InitialSize, MaxSize); - - Item.iSubItem = 2; - Item.pszText = szSize; - (void)ListView_InsertItem(pVirtMem->hListView, &Item); - } - + _tcscat(szDisplayString, _T("\t")); + _tcscat(szDisplayString, szSize); + } + + SendMessage(pVirtMem->hListBox, LB_ADDSTRING, (WPARAM)0, (LPARAM)szDisplayString); PgCnt++; } DrivePtr += Len; } + SendMessage(pVirtMem->hListBox, LB_SETCURSEL, (WPARAM)0, (LPARAM)0); + HeapFree(GetProcessHeap(), 0, szDisplayString); pVirtMem->Count = PgCnt; } @@ -245,31 +242,10 @@ static VOID -SetListViewColumns(HWND hwndListView) -{ - RECT rect; - LV_COLUMN lvc; - - GetClientRect(hwndListView, &rect); - - (void)ListView_SetExtendedListViewStyle(hwndListView, - LVS_EX_FULLROWSELECT); - - ZeroMemory(&lvc, sizeof(lvc)); - lvc.mask = LVCF_SUBITEM | LVCF_WIDTH | LVCF_FMT; - lvc.fmt = LVCFMT_LEFT; - - lvc.cx = (INT)((rect.right - rect.left) * 0.1); - lvc.iSubItem = 0; - (void)ListView_InsertColumn(hwndListView, 0, &lvc); - - lvc.cx = (INT)((rect.right - rect.left) * 0.3); - lvc.iSubItem = 1; - (void)ListView_InsertColumn(hwndListView, 1, &lvc); - - lvc.cx = (INT)((rect.right - rect.left) * 0.6); - lvc.iSubItem = 2; - (void)ListView_InsertColumn(hwndListView, 2, &lvc); +SetListBoxColumns(HWND hwndListBox) +{ + INT tabs[2] = {30, 170}; + SendMessage(hwndListBox, LB_SETTABSTOPS, (WPARAM)2, (LPARAM)(LPINT) &tabs[0]); } @@ -481,10 +457,10 @@ } pVirtMem->hSelf = hwnd; - pVirtMem->hListView = GetDlgItem(hwnd, IDC_PAGEFILELIST); + pVirtMem->hListBox = GetDlgItem(hwnd, IDC_PAGEFILELIST); pVirtMem->bSave = FALSE; - SetListViewColumns(pVirtMem->hListView); + SetListBoxColumns(pVirtMem->hListBox); /* Load the pagefile systems from the reg */ if (ReadPageFileSettings(pVirtMem))
17 years, 4 months
1
0
0
0
← Newer
1
...
5
6
7
8
9
10
11
...
71
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Results per page:
10
25
50
100
200