Parent Directory
|
Revision Log
|
Patch
revision 18 by twoaday, Tue Apr 11 06:56:23 2006 UTC | revision 19 by twoaday, Sun Jun 4 10:12:47 2006 UTC | |
---|---|---|
# | Line 66 viewer_dlg_proc (HWND dlg, UINT msg, WPA | Line 66 viewer_dlg_proc (HWND dlg, UINT msg, WPA |
66 | center_window (dlg, viewer->main_wnd); | center_window (dlg, viewer->main_wnd); |
67 | return FALSE; | return FALSE; |
68 | ||
case WM_SYSCOMMAND: | ||
if (LOWORD (wparam) == SC_CLOSE) | ||
EndDialog (dlg, 0); | ||
return FALSE; | ||
69 | case WM_COMMAND: | case WM_COMMAND: |
70 | switch (LOWORD (wparam)) { | switch (LOWORD (wparam)) { |
71 | case IDCANCEL: | |
72 | EndDialog (dlg, 0); | |
73 | return TRUE; | |
74 | ||
75 | case IDOK: | case IDOK: |
76 | EndDialog (dlg, 0); | EndDialog (dlg, 0); |
77 | return TRUE; | return TRUE; |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |