我作了一个PropertySheet,但不知怎么改变属性页标签上的字体,比如说将字体放大,设置居中对齐等等。另外怎么改变标签的宽度?

解决方案 »

  1.   

    See this:
    http://www.vckbase.com/document/viewdoc.asp?id=427
      

  2.   

    CFont m_font;
    CTabCtrl *pTabCtrl = GetTabControl();
    m_font.CreateFont (14, 0, 0, 0, 800, TRUE, 0, 0, 1, 0, 0, 0, 0, _T("Arial") );
    pTabCtrl->SetFont (&m_font);
      

  3.   

    CFont m_font;
    CTabCtrl *pTabCtrl = GetTabControl();
    m_font.CreateFont (14, 0, 0, 0, 800, TRUE, 0, 0, 1, 0, 0, 0, 0, _T("Arial") );
    pTabCtrl->SetFont (&m_font);
      

  4.   

    CFont m_font;
    CTabCtrl *pTabCtrl = GetTabControl();
    m_font.CreateFont (14, 0, 0, 0, 800, TRUE, 0, 0, 1, 0, 0, 0, 0, _T("Arial") );
    pTabCtrl->SetFont (&m_font);
      

  5.   

    我试过了,不行!!
    这样只能改变标题,不能改变page页中的字体.