if(pPlugin !=NULL) pPlugin->m_hWndDialog = NULL;
static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify){  switch (id)  {    case IDC_GET_PLUGIN:      EndDialog(hWnd, IDC_GET_PLUGIN);      break;    case IDCANCEL:    case IDC_BUTTON_CANCEL:      EndDialog(hWnd, IDCANCEL);      break;    default:      break;  }}