if(   (strcmp(szString, "NPPVpluginWindowBool") == 0) || (strcmp(szString, "NPPVpluginTransparentBool") == 0))
if((strcmp(szString, "NPPVpluginWindowBool") == 0) || (strcmp(szString, "NPPVpluginTransparentBool") == 0) || (strcmp(szString, "NPPVpluginKeepLibraryInMemory") == 0))
static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify){  CPlugin * pPlugin = (CPlugin *)GetWindowLong(hWnd, DWL_USER);  if (!pPlugin)    return;  switch (id)  {    case IDC_COMBO_API_CALL:      if(codeNotify != CBN_SELCHANGE)        break;      updateUI(hWnd);      break;    case IDC_BUTTON_GO:      pLogger->blockDumpToFile(FALSE);      onGo(hWnd);      break;    case IDC_EDIT_ARG1:    case IDC_EDIT_ARG2:    case IDC_EDIT_ARG3:    case IDC_EDIT_ARG4:    case IDC_EDIT_ARG5:    case IDC_EDIT_ARG6:    case IDC_EDIT_ARG7:    {      if(codeNotify == EN_SETFOCUS)        pPlugin->m_hWndLastEditFocus = hWndCtl;      char szString[80];      char szEdit[128];      int iIndex = ComboBox_GetCurSel(GetDlgItem(hWnd, IDC_COMBO_API_CALL));      ComboBox_GetLBText(GetDlgItem(hWnd, IDC_COMBO_API_CALL), iIndex, szString);      if(   ((strcmp(szString, STRING_NPN_POSTURL) == 0) || (strcmp(szString, STRING_NPN_POSTURLNOTIFY) == 0))         && (id == IDC_EDIT_ARG5)         && (codeNotify == EN_CHANGE))      {        Edit_GetText(hWndCtl, szEdit, sizeof(szEdit));        int iLength = strlen(szEdit);        SetDlgItemInt(hWnd, IDC_EDIT_ARG4, iLength, FALSE);      }      if(   ((strcmp(szString, STRING_NPN_WRITE) == 0))         && (id == IDC_EDIT_ARG4)         && (codeNotify == EN_CHANGE))      {        Edit_GetText(hWndCtl, szEdit, sizeof(szEdit));        int iLength = strlen(szEdit);        SetDlgItemInt(hWnd, IDC_EDIT_ARG3, iLength, FALSE);      }      // save values of window size on the fly as we type it      if(    (strcmp(szString, STRING_NPN_SETVALUE) == 0)          && ((id == IDC_EDIT_ARG3) || (id == IDC_EDIT_ARG4))           && (codeNotify == EN_CHANGE)          && (hWndCtl == GetFocus()))      {        iIndex = ComboBox_GetCurSel(GetDlgItem(hWnd, IDC_COMBO_ARG2));        ComboBox_GetLBText(GetDlgItem(hWnd, IDC_COMBO_ARG2), iIndex, szString);        if(strcmp(szString, "NPPVpluginWindowSize") == 0)        {          BOOL bTranslated = FALSE;          int iWidth = GetDlgItemInt(hWnd, IDC_EDIT_ARG3, &bTranslated, TRUE);          int iHeight = GetDlgItemInt(hWnd, IDC_EDIT_ARG4, &bTranslated, TRUE);          if(pPlugin->m_iWidth != iWidth)            pPlugin->m_iWidth = iWidth;          if(pPlugin->m_iHeight != iHeight)            pPlugin->m_iHeight = iHeight;        }      }      break;    }    case IDC_COMBO_ARG2:    {      if(codeNotify != CBN_SELCHANGE)        break;      ShowWindow(GetDlgItem(hWnd, IDC_STATIC_ARG4), SW_HIDE);      ShowWindow(GetDlgItem(hWnd, IDC_EDIT_ARG4), SW_HIDE);      Static_SetText(GetDlgItem(hWnd, IDC_STATIC_ARG3), "*value:");      Edit_SetText(GetDlgItem(hWnd, IDC_EDIT_ARG3), "");      char szString[80];      int iIndex = ComboBox_GetCurSel(GetDlgItem(hWnd, IDC_COMBO_API_CALL));      ComboBox_GetLBText(GetDlgItem(hWnd, IDC_COMBO_API_CALL), iIndex, szString);      if(strcmp(szString, STRING_NPN_SETVALUE) == 0)      {        iIndex = ComboBox_GetCurSel(GetDlgItem(hWnd, IDC_COMBO_ARG2));        ComboBox_GetLBText(GetDlgItem(hWnd, IDC_COMBO_ARG2), iIndex, szString);        if(   (strcmp(szString, "NPPVpluginWindowBool") == 0)            || (strcmp(szString, "NPPVpluginTransparentBool") == 0))        {          HWND hWndCombo = GetDlgItem(hWnd, IDC_COMBO_ARG3);          ComboBox_ResetContent(hWndCombo);          ComboBox_AddString(hWndCombo, "TRUE");          ComboBox_AddString(hWndCombo, "FALSE");          ComboBox_SetCurSel(hWndCombo, 0);          ShowWindow(GetDlgItem(hWnd, IDC_EDIT_ARG3), SW_HIDE);          ShowWindow(hWndCombo, SW_SHOW);        }        else        {          ShowWindow(GetDlgItem(hWnd, IDC_EDIT_ARG3), SW_SHOW);          ShowWindow(GetDlgItem(hWnd, IDC_COMBO_ARG3), SW_HIDE);          if(strcmp(szString, "NPPVpluginWindowSize") == 0)          {            EnableWindow(GetDlgItem(hWnd, IDC_EDIT_ARG4), TRUE);            ShowWindow(GetDlgItem(hWnd, IDC_EDIT_ARG4), SW_SHOW);            ShowWindow(GetDlgItem(hWnd, IDC_STATIC_ARG4), SW_SHOW);            Static_SetText(GetDlgItem(hWnd, IDC_STATIC_ARG3), "width:");            Static_SetText(GetDlgItem(hWnd, IDC_STATIC_ARG4), "height:");            SetDlgItemInt(hWnd, IDC_EDIT_ARG3, pPlugin->m_iWidth, TRUE);            SetDlgItemInt(hWnd, IDC_EDIT_ARG4, pPlugin->m_iHeight, TRUE);          }        }      }      break;    }    case IDC_BUTTON_PASTE:      onPaste(pPlugin->m_hWndLastEditFocus);      break;    default:      break;  }}