#include <windows.h>
Include dependency graph for dlgproc.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
BOOL CALLBACK | main_window_dialog_proc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) |
|
Definition at line 25 of file perf_dlg.cc. 00026 { 00027 long idItem; 00028 HWND hwndCtl; 00029 long wNotifyCode; 00030 switch (msg) 00031 { 00032 case WM_INITDIALOG: 00033 display_mode = BYTES_PER_SEC_MODE; 00034 detailed_output = 0; 00035 CheckDlgButton (hwndDlg, IDC_BPS_DISPLAY_RADIO, 1); 00036 CheckDlgButton (hwndDlg, IDC_DETAILED_OUT_CHECKBOX, 0); 00037 rcs_print_window = 00038 create_rcs_print_window (hWinDlgInstance, SW_SHOW, NULL); 00039 rcs_print ("NMLPERF For Windows.\n"); 00040 SetActiveWindow (hwndDlg); 00041 break; 00042 00043 case WM_COMMAND: 00044 idItem = wParam; 00045 hwndCtl = (HWND) LOWORD (lParam); 00046 wNotifyCode = HIWORD (lParam); 00047 return handle_command (hwndDlg, idItem, hwndCtl, wNotifyCode); 00048 case WM_SYSCOMMAND: 00049 switch (wParam) 00050 { 00051 case SC_CLOSE: 00052 WinDlgExit (); 00053 return 1; 00054 default: 00055 return 0; 00056 } 00057 00058 default: 00059 return 0; 00060 } 00061 return 0; 00062 } |