abtbox = NULL; DestroyWindow (hwnd);
case IDCANCEL: EndDialog(hwnd, TRUE);
static int CALLBACK AboutProc (HWND hwnd, UINT msg,			       WPARAM wParam, LPARAM lParam) {    switch (msg) {      case WM_INITDIALOG:        SetDlgItemText (hwnd, IDA_VERSION, ver);	return 1;      case WM_COMMAND:	switch (LOWORD(wParam)) {	  case IDOK:	    abtbox = NULL;	    DestroyWindow (hwnd);	    return 0;	  case IDA_LICENCE:	    EnableWindow(hwnd, 0);	    DialogBox (hinst, MAKEINTRESOURCE(IDD_LICENCEBOX),		       NULL, LicenceProc);	    EnableWindow(hwnd, 1);            SetActiveWindow(hwnd);	    return 0;	}	return 0;      case WM_CLOSE:	abtbox = NULL;	DestroyWindow (hwnd);	return 0;    }    return 0;}