Ignore:
Timestamp:
Sep 19, 1999, 8:33:32 PM (26 years ago)
Author:
sandervl
Message:

Dialog fontsize & background fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32dlg.cpp

    r949 r985  
    1 /* $Id: win32dlg.cpp,v 1.1 1999-09-15 23:19:00 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.2 1999-09-19 18:33:31 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    7070        /* The font height must be negative as it is a point size */
    7171        /* (see CreateFont() documentation in the Windows SDK).   */
    72 #if 0
    73         hUserFont = CreateFontA(dlgInfo.pointSize, 0, 0, 0,
    74                             dlgInfo.weight, dlgInfo.italic, FALSE,
    75                             FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY,
    76                             FF_DONTCARE, DEFAULT_DLGFONT);
    77 #else
    78         hUserFont = CreateFontW(dlgInfo.pointSize, 0, 0, 0,
     72        hUserFont = CreateFontW(dlgInfo.pointSize*2, 0, 0, 0,
    7973                            dlgInfo.weight, dlgInfo.italic, FALSE,
    8074                            FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY,
    8175                            FF_DONTCARE, (LPCWSTR)dlgInfo.faceName );
    82 #endif
    8376        if (hUserFont)
    8477        {
     
    925918}
    926919//******************************************************************************
     920//TODO:
    927921//******************************************************************************
    928922HWND Win32Dialog::getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious)
     
    931925}
    932926//******************************************************************************
     927//TODO
    933928//******************************************************************************
    934929Win32BaseWindow *Win32Dialog::getDlgItem(int id)
     
    1003998    wndClass.cbWndExtra    = 0;
    1004999    wndClass.hCursor       = (HCURSOR)IDC_ARROWA;
    1005     wndClass.hbrBackground = LTGRAY_BRUSH;
     1000    wndClass.hbrBackground = GetSysColorBrush(COLOR_BTNFACE);
    10061001    wndClass.lpszClassName = DIALOG_CLASS_NAMEA;
    10071002
Note: See TracChangeset for help on using the changeset viewer.