SendDlgItemMessage (hDlg, IDC_MESSAGE, WM_SETFONT, (WPARAM)myGetSysFont(), 0L);
SendDlgItemMessage (hDlg, IDC_MESSAGE, WM_SETFONT, (WPARAM)ugUninstall.definedFont, 0L);
LRESULT CALLBACK DlgProcMessage(HWND hDlg, UINT msg, WPARAM wParam, LONG lParam){  RECT      rDlg;  HWND      hSTMessage = GetDlgItem(hDlg, IDC_MESSAGE); /* handle to the Static Text message window */  HDC       hdcSTMessage;  SIZE      sizeString;  LOGFONT   logFont;  HFONT     hfontTmp;  HFONT     hfontOld;  int       i;  switch(msg)  {    case WM_INITDIALOG:          SendDlgItemMessage (hDlg, IDC_MESSAGE, WM_SETFONT, (WPARAM)myGetSysFont(), 0L);       break;    case WM_COMMAND:      switch(LOWORD(wParam))      {        case IDC_MESSAGE:          hdcSTMessage = GetWindowDC(hSTMessage);          SystemParametersInfo(SPI_GETICONTITLELOGFONT,                               sizeof(logFont),                               (PVOID)&logFont,                               0);          hfontTmp = CreateFontIndirect(&logFont);          if(hfontTmp)            hfontOld = SelectObject(hdcSTMessage, hfontTmp);          GetTextExtentPoint32(hdcSTMessage, (LPSTR)lParam, lstrlen((LPSTR)lParam), &sizeString);          SelectObject(hdcSTMessage, hfontOld);          DeleteObject(hfontTmp);          ReleaseDC(hSTMessage, hdcSTMessage);          SetWindowPos(hDlg, HWND_TOP,                      (dwScreenX/2)-((sizeString.cx + 40)/2), (dwScreenY/2)-((sizeString.cy + 40)/2),                      sizeString.cx + 40, sizeString.cy + 40,                      SWP_SHOWWINDOW);          if(GetClientRect(hDlg, &rDlg))            SetWindowPos(hSTMessage,                         HWND_TOP,                         rDlg.left,                         rDlg.top,                         rDlg.right,                         rDlg.bottom,                         SWP_SHOWWINDOW);          for(i = 0; i < lstrlen((LPSTR)lParam); i++)          {            if((((LPSTR)lParam)[i] == '\r') || (((LPSTR)lParam)[i] == '\n'))               ((LPSTR)lParam)[i] = ' ';          }          SetDlgItemText(hDlg, IDC_MESSAGE, (LPSTR)lParam);          break;      }      break;  }  return(0);}