anchor.diff:        return 0;
   
       case WM_COMMAND:
  +      switch (LOWORD(wParam)) {
  +        case IDM_FILE_NEW:
  +          if (isFileDirty) return 0;
  +
  +          SetWindowText(hwndEdit, TEXT('\0'));
  +          return 0;
  +
  +        case IDM_FILE_OPEN:
  +          if (file.PopFileOpenDlg(hwnd, szFileName, szTitleName) == TRUE) {
  +            return 0;
  +          }
  +          return 0;
  +
  +        case IDM_FILE_SAVE:
  +          return 0;
  +
  +        case IDM_FILE_SAVE_AS:
  +          return 0;
  +
  +        case IDM_FILE_PRINT:
  +          return 0;
  +
  +        case IDM_APP_EXIT:
  +          SendMessage(hwnd, WM_CLOSE, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_UNDO:
  +          SendMessage(hwndEdit, WM_UNDO, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_CUT:
  +          SendMessage(hwndEdit, WM_CUT, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_COPY:
  +          SendMessage(hwndEdit, WM_COPY, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_PASTE:
  +          SendMessage(hwndEdit, WM_PASTE, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_CLEAR:
  +          SendMessage(hwndEdit, WM_CLEAR, 0, 0);
  +          return 0;
  +
  +        case IDM_EDIT_SELECT_ALL:
  +          SendMessage(hwndEdit, EM_SETSEL, 0, -1);
  +          return 0;
  +      }
         return 0;
   
       case WM_QUERYENDSESSION:
  
positive.code:           nullptr);
  
        SendMessage(hwndEdit, EM_LIMITTEXT, 32000, 0);
        return 0;
  
      case WM_SETFOCUS:
  
negative.code: 
  import 'package:win32/win32.dart';
  
  import 'file.dart';
  import 'resources.dart';
  
  final hInstance = GetModuleHandle(nullptr);
  
  final file = NotepadFile();
  
  bool isFileDirty = false;
  int hwndEdit;
  int iOffset;
  String szFileName, szTitleName;
  int messageFindReplace;
  int iSelBeg, iSelEnd, iEnable;
  Pointer<FINDREPLACE> pfr;
  