Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenlanguages.c
Go to the documentation of this file.
00001 #include "intl.h" 00002 00003 /* Property page dialog callback */ 00004 INT_PTR CALLBACK 00005 LanguagesPageProc(HWND hwndDlg, 00006 UINT uMsg, 00007 WPARAM wParam, 00008 LPARAM lParam) 00009 { 00010 SHELLEXECUTEINFO shInputDll; 00011 00012 switch (uMsg) 00013 { 00014 case WM_INITDIALOG: 00015 break; 00016 00017 case WM_COMMAND: 00018 switch (LOWORD(wParam)) 00019 { 00020 /* If "detail" button pressed */ 00021 case IDC_DETAIL_BUTTON: 00022 if (HIWORD(wParam) == BN_CLICKED) 00023 { 00024 memset(&shInputDll, 0x0, sizeof(SHELLEXECUTEINFO)); 00025 shInputDll.cbSize = sizeof(shInputDll); 00026 shInputDll.hwnd = hwndDlg; 00027 shInputDll.lpVerb = _T("open"); 00028 shInputDll.lpFile = _T("RunDll32.exe"); 00029 shInputDll.lpParameters = _T("shell32.dll,Control_RunDLL input.dll"); 00030 if (ShellExecuteEx(&shInputDll) == 0) 00031 { 00032 MessageBox(NULL, 00033 _T("Can't start input.dll"), 00034 _T("Error"), 00035 MB_OK | MB_ICONERROR); 00036 } 00037 } 00038 break; 00039 } 00040 break; 00041 } 00042 return FALSE; 00043 } 00044 00045 /* EOF */ Generated on Sat May 26 2012 04:19:45 for ReactOS by
1.7.6.1
|