[ros-diffs] [cfinck] 28397: Send a LBN_SELCHANGE notification after selecting the first network component entry, so the description text gets updated. Patch by Gregor Brunmar (gregor DOT brunmar AT home DOT se) See issue #2577 for more details.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Aug 18 16:03:12 CEST 2007


Author: cfinck
Date: Sat Aug 18 18:03:12 2007
New Revision: 28397

URL: http://svn.reactos.org/svn/reactos?rev=28397&view=rev
Log:
Send a LBN_SELCHANGE notification after selecting the first network component entry, so the description text gets updated.
Patch by Gregor Brunmar (gregor DOT brunmar AT home DOT se)
See issue #2577 for more details.

Modified:
    trunk/reactos/dll/cpl/ncpa/ncpa.c

Modified: trunk/reactos/dll/cpl/ncpa/ncpa.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/ncpa/ncpa.c?rev=28397&r1=28396&r2=28397&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/ncpa/ncpa.c (original)
+++ trunk/reactos/dll/cpl/ncpa/ncpa.c Sat Aug 18 18:03:12 2007
@@ -277,6 +277,7 @@
 			EnumRegKeys(NICPropertyProtocolCallback,hwndDlg,HKEY_LOCAL_MACHINE,_T("System\\CurrentControlSet\\Control\\Network\\{4D36E975-E325-11CE-BFC1-08002BE10318}"));
 
 			SendDlgItemMessage(hwndDlg, IDC_COMPONENTSLIST, LB_SETCURSEL, 0, 0);
+			SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDC_COMPONENTSLIST, LBN_SELCHANGE), 0);
 		}
 		break;
 	case WM_COMMAND:
@@ -806,3 +807,4 @@
 	return TRUE;
 }
 
+




More information about the Ros-diffs mailing list