hDocWnd = NULL; } 
void InitDocWnd(HWND hParentWnd){	HMENU hMenu;	HICON hIcon;	if (hDocWnd != NULL)		DestroyWindow(hDocWnd);	DocWndInfoReset2(hDocWnd);	INILoadDocWnd();	switch(PlayerLanguage){  	case LANGUAGE_ENGLISH:		hDocWnd = CreateDialog			(hInst,MAKEINTRESOURCE(IDD_DIALOG_DOC_EN),hParentWnd,DocWndProc);		break; 	default:	case LANGUAGE_JAPANESE:		hDocWnd = CreateDialog			(hInst,MAKEINTRESOURCE(IDD_DIALOG_DOC),hParentWnd,DocWndProc);	break;	}	hIcon = LoadImage(hInst, MAKEINTRESOURCE(IDI_ICON_TIMIDITY), IMAGE_ICON, 16, 16, 0);	if (hIcon!=NULL) SendMessage(hDocWnd,WM_SETICON,FALSE,(LPARAM)hIcon);	DocWndInfoReset2(hDocWnd);	hMenu = GetSystemMenu(DocWndInfo.hwnd,FALSE);	switch(PlayerLanguage){	case LANGUAGE_JAPANESE:		AppendMenu(hMenu,MF_SEPARATOR,0,0);		AppendMenu(hMenu,MF_STRING,IDM_DOCWND_CHOOSEFONT,"tHg̑I");		break; 	default:  	case LANGUAGE_ENGLISH:		AppendMenu(hMenu,MF_SEPARATOR,0,0);		AppendMenu(hMenu,MF_STRING,IDM_DOCWND_CHOOSEFONT,"Choose Font");		break;	}	DocWndInfoReset2(hDocWnd);	INILoadDocWnd();	DocWndInfoApply();	ShowWindow(hDocWnd,SW_HIDE);	UpdateWindow(hDocWnd);	EnableWindow(GetDlgItem(hDocWnd,IDC_BUTTON_PREV),FALSE);	EnableWindow(GetDlgItem(hDocWnd,IDC_BUTTON_NEXT),FALSE);}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/99cb513835698ec5227250073ee12875309c3a03/w32g_subwin.c/buggy/interface/w32g_subwin.c