Dela via


CMFCStatusBar::EnablePaneDoubleClick

Enables or disables the handling of mouse double-clicks on the status bar.

void EnablePaneDoubleClick(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    If TRUE, enable the processing of the mouse double-click. Otherwise disable the processing of the mouse double-click.

Remarks

If the status bar is enabled to process double clicks, Windows sends the WM_COMMAND notification together with a resource ID to the owner of the status bar every time that the user double clicks on the status bar pane.

Requirements

Header: afxstatusbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCStatusBar Class