Author: janderwald
Date: Wed Oct 22 12:46:55 2008
New Revision: 36895
URL:
http://svn.reactos.org/svn/reactos?rev=36895&view=rev
Log:
* Implement details status dialog
* Update all languages with en-US resource file
Modified:
trunk/reactos/dll/win32/netshell/lang/bg-BG.rc
trunk/reactos/dll/win32/netshell/lang/cs-CZ.rc
trunk/reactos/dll/win32/netshell/lang/da-DK.rc
trunk/reactos/dll/win32/netshell/lang/de-DE.rc
trunk/reactos/dll/win32/netshell/lang/el-GR.rc
trunk/reactos/dll/win32/netshell/lang/en-US.rc
trunk/reactos/dll/win32/netshell/lang/es-ES.rc
trunk/reactos/dll/win32/netshell/lang/fr-FR.rc
trunk/reactos/dll/win32/netshell/lang/hu-HU.rc
trunk/reactos/dll/win32/netshell/lang/id-ID.rc
trunk/reactos/dll/win32/netshell/lang/it-IT.rc
trunk/reactos/dll/win32/netshell/lang/ja-JP.rc
trunk/reactos/dll/win32/netshell/lang/nl-NL.rc
trunk/reactos/dll/win32/netshell/lang/no-NO.rc
trunk/reactos/dll/win32/netshell/lang/pl-PL.rc
trunk/reactos/dll/win32/netshell/lang/ru-RU.rc
trunk/reactos/dll/win32/netshell/lang/sk-SK.rc
trunk/reactos/dll/win32/netshell/lang/sv-SE.rc
trunk/reactos/dll/win32/netshell/lang/uk-UA.rc
trunk/reactos/dll/win32/netshell/lang/zh-CN.rc
trunk/reactos/dll/win32/netshell/lanstatusui.c
trunk/reactos/dll/win32/netshell/netshell.rc
trunk/reactos/dll/win32/netshell/resource.h
Modified: trunk/reactos/dll/win32/netshell/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/bg…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/bg-BG.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -19,7 +19,7 @@
CHECKBOX "Óâåäîìÿâàíå ïðè îãðàíè÷åíà èëè ëèïñâàùà ñâúðçàíîñò",
IDC_NOTIFYNOCONNECTION, 9, 220, 230, 12, BS_AUTOCHECKBOX | WS_TABSTOP
END
-IDD_NETSTATUS DIALOGEX DISCARDABLE 0, 0, 200,180
+IDD_STATUS DIALOGEX DISCARDABLE 0, 0, 200,180
STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
CAPTION "Îáùè"
FONT 8, "MS Shell Dlg"
@@ -68,9 +68,29 @@
PUSHBUTTON "&Ïîäðîáíîñòè...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Ìðåæîâî ñâúðçâàíå"
IDS_SHV_COLUMN_NAME "Èìå"
IDS_SHV_COLUMN_TYPE "Âèä"
Modified: trunk/reactos/dll/win32/netshell/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/cs…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/cs-CZ.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Detaily...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/da-DK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/da…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/da-DK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/da-DK.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/de…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/de-DE.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,9 +68,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Netzwerkverbindungen"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Typ"
Modified: trunk/reactos/dll/win32/netshell/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/el…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/el-GR.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/en…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/en-US.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,9 +68,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/es…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/es-ES.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -62,9 +62,29 @@
PUSHBUTTON "&Detalles...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Conexiones de red"
IDS_SHV_COLUMN_NAME "Nombre"
IDS_SHV_COLUMN_TYPE "Tipo"
Modified: trunk/reactos/dll/win32/netshell/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/fr…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/fr-FR.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Détails...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/hu…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/hu-HU.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,8 +68,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/id…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/id-ID.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Detil...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/it…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/it-IT.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -72,9 +72,29 @@
PUSHBUTTON "&Dettagli...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Connessione di rete"
IDS_SHV_COLUMN_NAME "Nome"
IDS_SHV_COLUMN_TYPE "Tipo"
Modified: trunk/reactos/dll/win32/netshell/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/ja…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/ja-JP.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/nl…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/nl-NL.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/no…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/no-NO.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -71,9 +71,29 @@
PUSHBUTTON "&Detaljer...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Nettverk tilkobling"
IDS_SHV_COLUMN_NAME "Navn"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/pl…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/pl-PL.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,8 +68,29 @@
PUSHBUTTON "&Szczegó³y...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Po³¹czenie sieciowe"
IDS_SHV_COLUMN_NAME "Nazwa"
IDS_SHV_COLUMN_TYPE "Typ"
Modified: trunk/reactos/dll/win32/netshell/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/ru…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/ru-RU.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,8 +68,29 @@
PUSHBUTTON "&Äîïîëíèòåëüíî...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Ñåòåâûå ïîäêëþ÷åíèÿ"
IDS_SHV_COLUMN_NAME "Èìÿ"
IDS_SHV_COLUMN_TYPE "Òèï"
Modified: trunk/reactos/dll/win32/netshell/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/sk…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/sk-SK.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -73,8 +73,29 @@
PUSHBUTTON "Po&drobnosti...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Názov"
IDS_SHV_COLUMN_TYPE "Typ"
Modified: trunk/reactos/dll/win32/netshell/lang/sv-SE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/sv…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/sv-SE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/sv-SE.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -68,8 +68,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/uk…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/uk-UA.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -70,8 +70,29 @@
PUSHBUTTON "&Ñêëàä...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lang/zh…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lang/zh-CN.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -67,8 +67,29 @@
PUSHBUTTON "&Details...", IDC_DETAILS, 22, 76, 62, 14
END
+IDD_LAN_NETSTATUSDETAILS DIALOGEX DISCARDABLE 0, 0, 200,200
+STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
+CAPTION "Network Connection Details"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Network Connection &Details:", -1, 15, 9, 170, 12
+ CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL
| LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130
+ PUSHBUTTON "&Close", IDC_CLOSE, 125, 165, 62, 14
+END
+
STRINGTABLE DISCARDABLE
BEGIN
+ IDS_PHYSICAL_ADDRESS "Physical Address"
+ IDS_IP_ADDRESS "IP Address"
+ IDS_SUBNET_MASK "Subnet Mask"
+ IDS_DEF_GATEWAY "Default Gateway"
+ IDS_DHCP_SERVER "DHCP Server"
+ IDS_LEASE_OBTAINED "Lease Obtained"
+ IDS_LEASE_EXPIRES "Lease Expires"
+ IDS_DNS_SERVERS "DNS Servers"
+ IDS_WINS_SERVERS "WINS Servers"
+ IDS_PROPERTY "Property"
+ IDS_VALUE "Value"
IDS_NETWORKCONNECTION "Network Connection"
IDS_SHV_COLUMN_NAME "Name"
IDS_SHV_COLUMN_TYPE "Type"
Modified: trunk/reactos/dll/win32/netshell/lanstatusui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lanstat…
==============================================================================
--- trunk/reactos/dll/win32/netshell/lanstatusui.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/lanstatusui.c [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -289,6 +289,199 @@
NcFreeNetconProperties(pProperties);
}
+VOID
+InsertColumnToListView(
+ HWND hDlgCtrl,
+ UINT ResId,
+ UINT SubItem,
+ UINT Size)
+{
+ WCHAR szBuffer[200];
+ LVCOLUMNW lc;
+
+ if (!LoadStringW(netshell_hInstance, ResId, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ return;
+
+ memset(&lc, 0, sizeof(LV_COLUMN) );
+ lc.mask = LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM | LVCF_FMT;
+ lc.iSubItem = SubItem;
+ lc.fmt = LVCFMT_FIXED_WIDTH;
+ lc.cx = Size;
+ lc.cchTextMax = wcslen(szBuffer);
+ lc.pszText = szBuffer;
+
+ (void)SendMessageW(hDlgCtrl, LVM_INSERTCOLUMNW, SubItem, (LPARAM)&lc);
+}
+
+VOID
+AddIPAddressToListView(
+ HWND hDlgCtrl,
+ PIP_ADDR_STRING pAddr,
+ INT Index)
+{
+ LVITEMW li;
+ PIP_ADDR_STRING pCur;
+ WCHAR szBuffer[100];
+ UINT SubIndex;
+
+ ZeroMemory(&li, sizeof(LVITEMW));
+ li.mask = LVIF_TEXT;
+ li.iItem = Index;
+ pCur = pAddr;
+ SubIndex = 0;
+
+ do
+ {
+ if (SubIndex)
+ {
+ ZeroMemory(&li, sizeof(LVITEMW));
+ li.mask = LVIF_TEXT;
+ li.iItem = ListView_GetItemCount(hDlgCtrl);
+ li.iSubItem = 0;
+ li.pszText = L"";
+ li.iItem = SendMessageW(hDlgCtrl, LVM_INSERTITEMW, 0, (LPARAM)&li);
+ }
+
+ if (MultiByteToWideChar(CP_ACP, 0, pCur->IpAddress.String, -1, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ {
+ li.pszText = szBuffer;
+ li.iSubItem = 1;
+ li.iItem = ListView_GetItemCount(hDlgCtrl);
+ SendMessageW(hDlgCtrl, LVM_SETITEMW, 0, (LPARAM)&li);
+ }
+ SubIndex++;
+ pCur = pCur->Next;
+ }while(pCur && pCur->IpAddress.String[0]);
+}
+
+INT
+InsertItemToListView(
+ HWND hDlgCtrl,
+ UINT ResId)
+{
+ LVITEMW li;
+ WCHAR szBuffer[100];
+
+ ZeroMemory(&li, sizeof(LVITEMW));
+ li.mask = LVIF_TEXT;
+ li.iItem = ListView_GetItemCount(hDlgCtrl);
+ if (LoadStringW(netshell_hInstance, IDS_PHYSICAL_ADDRESS, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ {
+ li.pszText = szBuffer;
+ return (INT)SendMessageW(hDlgCtrl, LVM_INSERTITEMW, 0, (LPARAM)&li);
+ }
+ return -1;
+}
+
+
+INT_PTR
+CALLBACK
+LANStatusUiDetailsDlg(
+ HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam
+)
+{
+ LANSTATUSUI_CONTEXT * pContext;
+ LVITEMW li;
+ WCHAR szBuffer[100];
+ PIP_ADAPTER_INFO pAdapterInfo, pCurAdapter;
+ PIP_PER_ADAPTER_INFO pPerAdapter;
+ DWORD dwSize;
+ HWND hDlgCtrl;
+
+ switch(uMsg)
+ {
+ case WM_INITDIALOG:
+ pContext = (LANSTATUSUI_CONTEXT*)lParam;
+
+ hDlgCtrl = GetDlgItem(hwndDlg, IDC_DETAILS);
+ InsertColumnToListView(hDlgCtrl, IDS_PROPERTY, 0, 80);
+ InsertColumnToListView(hDlgCtrl, IDS_VALUE, 0, 80);
+
+ dwSize = 0;
+ pCurAdapter = NULL;
+ pAdapterInfo = NULL;
+ if (GetAdaptersInfo(NULL, &dwSize) == ERROR_BUFFER_OVERFLOW)
+ {
+ pAdapterInfo = (PIP_ADAPTER_INFO)CoTaskMemAlloc(dwSize);
+ if (pAdapterInfo)
+ {
+ if (GetAdaptersInfo(pAdapterInfo, &dwSize) == NO_ERROR)
+ {
+ pCurAdapter = pAdapterInfo;
+ while(pCurAdapter && pCurAdapter->Index !=
pContext->dwAdapterIndex)
+ pCurAdapter = pCurAdapter->Next;
+
+ if(pCurAdapter->Index != pContext->dwAdapterIndex)
+ pCurAdapter = NULL;
+ }
+ }
+ }
+
+ ZeroMemory(&li, sizeof(LVITEMW));
+ li.mask = LVIF_TEXT;
+ li.iSubItem = 1;
+ li.pszText = szBuffer;
+
+ if (pCurAdapter)
+ {
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_PHYSICAL_ADDRESS);
+ if (li.iItem >= 0)
+ if (MultiByteToWideChar(CP_ACP, 0, (LPCSTR)pCurAdapter->Address,
-1, szBuffer, sizeof(szBuffer)/sizeof(WCHAR)))
+ SendMessageW(hDlgCtrl, LVM_SETITEMW, 0, (LPARAM)&li);
+
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_IP_ADDRESS);
+ if (li.iItem >= 0)
+ if (MultiByteToWideChar(CP_ACP, 0,
pCurAdapter->IpAddressList.IpAddress.String, -1, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ SendMessageW(hDlgCtrl, LVM_SETITEMW, 0, (LPARAM)&li);
+
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_SUBNET_MASK);
+ if (li.iItem >= 0)
+ if (MultiByteToWideChar(CP_ACP, 0,
pCurAdapter->IpAddressList.IpMask.String, -1, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ SendMessageW(hDlgCtrl, LVM_SETITEMW, 0, (LPARAM)&li);
+
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_DEF_GATEWAY);
+ if (li.iItem >= 0)
+ if (MultiByteToWideChar(CP_ACP, 0,
pCurAdapter->DhcpServer.IpAddress.String, -1, szBuffer,
sizeof(szBuffer)/sizeof(WCHAR)))
+ SendMessageW(hDlgCtrl, LVM_SETITEMW, 0, (LPARAM)&li);
+
+#if 0
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_LEASE_OBTAINED);
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_LEASE_EXPIRES);
+#endif
+ }
+
+ dwSize = 0;
+ if (GetPerAdapterInfo(pContext->dwAdapterIndex, NULL, &dwSize) ==
ERROR_BUFFER_OVERFLOW)
+ {
+ pPerAdapter = (PIP_PER_ADAPTER_INFO)CoTaskMemAlloc(dwSize);
+ if (pPerAdapter)
+ {
+ if (GetPerAdapterInfo(pContext->dwAdapterIndex, pPerAdapter,
&dwSize) == ERROR_SUCCESS)
+ {
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_DNS_SERVERS);
+ if (li.iItem >= 0)
+ AddIPAddressToListView(hDlgCtrl,
&pPerAdapter->DnsServerList, li.iItem);
+ }
+ CoTaskMemFree(pPerAdapter);
+ }
+ }
+#if 0
+ if (pCurAdapter)
+ {
+ li.iItem = InsertItemToListView(hDlgCtrl, IDS_WINS_SERVERS);
+ AddIPAddressToListView(hDlgCtrl, &pCurAdapter->PrimaryWinsServer,
li.iItem);
+ AddIPAddressToListView(hDlgCtrl,
&pCurAdapter->SecondaryWinsServer, li.iItem+1);
+ }
+#endif
+ CoTaskMemFree(pAdapterInfo);
+ break;
+ }
+ return FALSE;
+}
+
INT_PTR
CALLBACK
LANStatusUiAdvancedDlg(
@@ -334,8 +527,18 @@
THIRD_IPADDRESS(dwIpAddr), FOURTH_IPADDRESS(dwIpAddr));
SendDlgItemMessageW(hwndDlg, IDC_DETAILSGATEWAY, WM_SETTEXT, 0,
(LPARAM)szBuffer);
-
return TRUE;
+ case WM_COMMAND:
+ if (LOWORD(wParam) == IDC_DETAILS)
+ {
+ pContext = (LANSTATUSUI_CONTEXT*)GetWindowLongPtr(hwndDlg, DWLP_USER);
+ if (pContext)
+ {
+ DialogBoxParamW(netshell_hInstance,
MAKEINTRESOURCEW(IDD_LAN_NETSTATUSDETAILS), GetParent(hwndDlg),
+ LANStatusUiDetailsDlg, (LPARAM)pContext);
+ }
+ }
+ break;
default:
break;
}
Modified: trunk/reactos/dll/win32/netshell/netshell.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/netshel…
==============================================================================
--- trunk/reactos/dll/win32/netshell/netshell.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/netshell.rc [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -3,7 +3,6 @@
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Shell for Network Connections\0"
Modified: trunk/reactos/dll/win32/netshell/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/resourc…
==============================================================================
--- trunk/reactos/dll/win32/netshell/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/resource.h [iso-8859-1] Wed Oct 22 12:46:55 2008
@@ -17,12 +17,12 @@
#define IDD_LAN_NETSTATUS 401
#define IDD_STATUS 402
#define IDD_LAN_NETSTATUSADVANCED 403
-
+#define IDD_LAN_NETSTATUSDETAILS 404
/* dialog controls */
#define IDC_NETCARDNAME 1000
#define IDC_CONFIGURE 1001
-#define IDC_COMPONENTSLIST 2800
+#define IDC_COMPONENTSLIST 1002
#define IDC_INSTALL 1003
#define IDC_UNINSTALL 1004
#define IDC_PROPERTIES 1005
@@ -45,6 +45,7 @@
#define IDC_DETAILSGATEWAY 1203
#define IDC_DETAILS 1204
+#define IDC_CLOSE 1300
/* resource constants */
@@ -81,3 +82,15 @@
#define IDS_ASSIGNED_DHCP 10206
#define IDS_ASSIGNED_MANUAL 10207
+#define IDS_PHYSICAL_ADDRESS 10300
+#define IDS_IP_ADDRESS 10301
+#define IDS_SUBNET_MASK 10302
+#define IDS_DEF_GATEWAY 10303
+#define IDS_DHCP_SERVER 10304
+#define IDS_LEASE_OBTAINED 10305
+#define IDS_LEASE_EXPIRES 10306
+#define IDS_DNS_SERVERS 10307
+#define IDS_WINS_SERVERS 10308
+#define IDS_PROPERTY 10309
+#define IDS_VALUE 10310
+