Help Center

CToolbar.UnhideButtonmethod

Unhides the specified button in a toolbar.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION UnhideButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Also documented as HideButton — one description covers them all.

Parameters

NameDescription
hToolbarHandle to the toolbar control.
idButtonCommand identifier of the button to hide or show.
fShowTRUE to hidden the button or FALSE to show it.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Hides or shows the specified button in a toolbar.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:799
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class