Partager via


CMFCEditBrowseCtrl::OnDrawBrowseButton

Called by the framework to draw the browse button on the edit browse control.

virtual void OnDrawBrowseButton(
   CDC* pDC,
   CRect rect,
   BOOL bIsButtonPressed,
   BOOL bIsButtonHot
);

Parameters

  • pDC
    A pointer to a device context.

  • Rect
    The bounding rectangle of the browse button.

  • bIsButtonPressed
    TRUE if the button is pressed; otherwise, FALSE.

  • bIsButtonHot
    TRUE if the button is highlighted; otherwise, FALSE.

Remarks

Override this function in a derived class to customize the appearance of the browse button.

Requirements

Header: afxeditbrowsectrl.h

See Also

Reference

CMFCEditBrowseCtrl Class

Hierarchy Chart