| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include <Windows.h> | 8 #include <windows.h> |
| 9 #include <tchar.h> | 9 #include <tchar.h> |
| 10 | 10 |
| 11 #include "SkApplication.h" | 11 #include "SkApplication.h" |
| 12 | 12 |
| 13 #define MAX_LOADSTRING 100 | 13 #define MAX_LOADSTRING 100 |
| 14 | 14 |
| 15 // Global Variables: | 15 // Global Variables: |
| 16 HINSTANCE hInst; // current instance | 16 HINSTANCE hInst; // current instance |
| 17 TCHAR szTitle[] = _T("SampleApp"); // The title bar text | 17 TCHAR szTitle[] = _T("SampleApp"); // The title bar text |
| 18 TCHAR szWindowClass[] = _T("SAMPLEAPP"); // the main window class name | 18 TCHAR szWindowClass[] = _T("SAMPLEAPP"); // the main window class name |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 case WM_COMMAND: | 198 case WM_COMMAND: |
| 199 if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) | 199 if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) |
| 200 { | 200 { |
| 201 EndDialog(hDlg, LOWORD(wParam)); | 201 EndDialog(hDlg, LOWORD(wParam)); |
| 202 return (INT_PTR)TRUE; | 202 return (INT_PTR)TRUE; |
| 203 } | 203 } |
| 204 break; | 204 break; |
| 205 } | 205 } |
| 206 return (INT_PTR)FALSE; | 206 return (INT_PTR)FALSE; |
| 207 } | 207 } |
| OLD | NEW |