/[openpgpmdrv]/trunk/OpenPGPminidriverTest/main.cpp
ViewVC logotype

Diff of /trunk/OpenPGPminidriverTest/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9 by vletoux, Thu Mar 11 20:32:26 2010 UTC revision 10 by vletoux, Mon Mar 15 18:23:17 2010 UTC
# Line 315  INT_PTR CALLBACK WndProcCrypto(HWND hWnd Line 315  INT_PTR CALLBACK WndProcCrypto(HWND hWnd
315          {          {
316          case WM_INITDIALOG:          case WM_INITDIALOG:
317                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Signature"));                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Signature"));
                 SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Authentication"));  
318                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Confidentiality"));                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Confidentiality"));
319                    SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX,CB_ADDSTRING,0,(LPARAM)TEXT("Authentication"));
320                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX, CB_SETCURSEL, 0, 0);                  SendDlgItemMessage(hWnd,IDC_CONTAINERINDEX, CB_SETCURSEL, 0, 0);
321                  break;                  break;
322          case WM_COMMAND:          case WM_COMMAND:
# Line 337  INT_PTR CALLBACK WndProcCrypto(HWND hWnd Line 337  INT_PTR CALLBACK WndProcCrypto(HWND hWnd
337                                  dwReturn = SetTheSameKeyForAllContainers();                                  dwReturn = SetTheSameKeyForAllContainers();
338                                  MessageBoxWin32(dwReturn);                                  MessageBoxWin32(dwReturn);
339                                  break;                                  break;
340                            case IDC_SETREADONLY:
341                                    dwReturn = SetReadOnly(TRUE);
342                                    MessageBoxWin32(dwReturn);
343                                    break;
344                            case IDC_UNSETREADONLY:
345                                    dwReturn = SetReadOnly(FALSE);
346                                    MessageBoxWin32(dwReturn);
347                                    break;
348                  }                  }
349                  break;                  break;
350          }          }

Legend:
Removed from v.9  
changed lines
  Added in v.10

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26