Menu

CToolBar::GetExtendedStyle missing

ioannis
2017-09-30
2017-09-30
  • ioannis

    ioannis - 2017-09-30

    Is there a reason this is missing from CToolBar class ?

    inline DWORD CToolBar::GetExtendedStyle() const
    // Gets the text drawing flags for the ToolBar.
    // Extended styles include: TBSTYLE_EX_DRAWDDARROWS, TBSTYLE_EX_HIDECLIPPEDBUTTONS, TBSTYLE_EX_DOUBLEBUFFER and TBSTYLE_EX_MIXEDBUTTONS
    {
        assert(IsWindow());
        return (DWORD)SendMessage(TB_GETEXTENDEDSTYLE, 0L, 0L);
    }
    
     
  • David

    David - 2017-10-04

    Hi ioannis,

    Thanks for bringing these to my attention.

    I've made the following changes
    - The parameters for CDC::GetTextExtentPoint32 have been updated.
    - Updated CReBar::OnToolRebarResize.
    - Added CToolBar::GetExtendedStyle.

    The updated code has been submitted to SourceForge. It can be downloaded as a snapshot from the Code section.

    Best regards,
    David Nash

     

Log in to post a comment.