From d7248a8454d01b786ac6bac9925708102218463e Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sat, 18 Aug 2007 14:03:12 +0000 Subject: [PATCH] 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. svn path=/trunk/; revision=28397 --- reactos/dll/cpl/ncpa/ncpa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/cpl/ncpa/ncpa.c b/reactos/dll/cpl/ncpa/ncpa.c index 1626305a8de..1f13f5ffdad 100644 --- a/reactos/dll/cpl/ncpa/ncpa.c +++ b/reactos/dll/cpl/ncpa/ncpa.c @@ -277,6 +277,7 @@ NICPropertyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) 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 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved) return TRUE; } +