L_TBIsButtonVisible

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBIsButtonVisible(pToolbar, uButtonID, pfVisible )

pTOOLBARHANDLE pToolbar;

pointer to a toolbar handle

L_UINT uButtonID;

button ID

L_BOOL * pfVisible;

visibility flag

Determines whether the specified button is visible.

Parameter Description
pToolbar Pointer to a toolbar handle.
uButtonID Identifier of the button for which to retrieve the visibility status.
pfVisible Pointer to the variable that will receive the visibility status of the button. Possible values are:
  Value Meaning
  TRUE The specified button is visible.
  FALSE The specified button is not visible.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

To change the visibility status of a button, call L_TBSetButtonVisible.

Required DLLs and Libraries

LTTLB

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_TBSetButtonVisible

Topics:

Getting and Setting Toolbar Button Information

Example

For an example, refer to L_TBSetButtonVisible.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Toolbar C API Help