How can I tell the grid to use the same font as the dialog template?

   // Get the default font from the dialog box
   LOGFONT   FontStruc;
   HFONT hFont = (HFONT) SendMessage( WM_GETFONT );
   VERIFY( ::GetObject( hFont, sizeof(LOGFONT), (LPSTR) &FontStruc ) );
   JGrid->StandardStyle().SetFont(FontStruc);
   JGrid->UpdateFontMetrics();