标签:class blog http com set html
,正确的样式应该是这样的
if( ::IsZoomed(*this) != bZoomed )
    {
        CControlUI* pbtnMax     = static_cast<CControlUI*>(m_PaintManager.FindControl(_T("maxbtn")));       // 最大化按钮
        CControlUI* pbtnRestore = static_cast<CControlUI*>(m_PaintManager.FindControl(_T("restorebtn")));   // 还原按钮
 
        // 切换最大化按钮和还原按钮的状态
        if (pbtnMax && pbtnRestore)
        {
            pbtnMax->SetVisible(TRUE == bZoomed);       // 此处用表达式是为了避免编译器BOOL转换的警告
            pbtnRestore->SetVisible(FALSE == bZoomed);
        }
    }
原文:http://www.cnblogs.com/Alberl/p/3344886.html
1 duilib 自绘标题 最大化图标显示bug ----WindowImplBase的bug,布布扣,bubuko.com
1 duilib 自绘标题 最大化图标显示bug ----WindowImplBase的bug
标签:class blog http com set html
原文地址:http://www.cnblogs.com/a9999/p/3799083.html