Bagikan melalui


CMFCToolBarMenuButton::m_bAlwaysCallOwnerDraw

Specifies whether the framework always calls CFrameWndEx::OnDrawMenuImage when a button is drawn.

static BOOL m_bAlwaysCallOwnerDraw;

Remarks

When this member variable is set to TRUE, the button always calls CFrameWndEx::OnDrawMenuImage method to display the image on the button. When m_bAlwaysCallOwnerDraw is FALSE, the button itself draws the image if the image is predefined. Otherwise, it calls OnDrawMenuImage.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart