Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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