if (OS.IsDBLocale) { int hFont = 0; if (font != null) hFont = font.handle; if (hFont == 0) hFont = defaultFont (); saveIMEFont (); setIMEFont (hFont); }
setIMEFont ();
void setFocus () {	int hwnd = parent.handle;	int hBitmap = 0;	if (image != null) hBitmap = image.handle;	OS.CreateCaret (hwnd, hBitmap, width, height);	move ();	if (OS.IsDBLocale) {		int hFont = 0;		if (font != null) hFont = font.handle;		if (hFont == 0) hFont = defaultFont ();		saveIMEFont ();		setIMEFont (hFont);	}	if (isVisible) OS.ShowCaret (hwnd);}