UseTB

Syntax:

hTB = UseTB( #Toolbar )

Parameters:

#Toolbar

=

number of the toolbar


Return Values:

#FALSE

=

failed

<> 0

=

hTB, Windows toolbar handle


Description:

Use another Toolbar as current TB.

Returns the handle to the new TB.


Example:

  hTB1 = UseTB(1)
  DisableTBbutton(....  ; Disable a Button on TB 1
  
  hTB2 = UseTB(2)
  HideTBbutton(...      ; Hide a Button on TB 2


Supported OS:   Windows