Пример #1
0
 private void SetIMEWindowFont(Font f)
 {
     if (this.lf == null)
     {
         this.lf = new Ime.LOGFONT();
         f.ToLogFont(this.lf);
         this.lf.lfFaceName = f.Name;
     }
     Ime.SendMessage(this.hIMEWnd, 643, 10, this.lf);
 }
Пример #2
0
 private static extern int SendMessage(IntPtr hWnd, int msg, int wParam, [MarshalAs(UnmanagedType.LPStruct)][In] Ime.LOGFONT lParam);