IsToolBar()

语法

Result = IsToolBar(#ToolBar)
概要
Tests if the given #ToolBar number is a valid and correctly initialized, toolbar.

参数

#ToolBar The toolbar to use.

返回值

Returns nonzero if #ToolBar is a valid toolbar and zero otherwise.

Remarks

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, otherwise it will equal zero. This is the correct way to ensure a toolbar is ready to use.

参阅

CreateToolBar()

已支持操作系统

所有

<- GetToolBarButtonState() - ToolBar Index - SetToolBarButtonState() ->