UpdateTB

Syntax:

UpdateTB( [#Toolbar] )

Parameters:

[#Toolbar]

=

optional toolbar number


Description:

Updates the Toolbar ( Repaint / Resize )


If no parameter is given, the currently used TB is updated,

otherwise the Toolbar specified in the Parameter is updated.

(beginning with 0)


Example:

  Procedure SizeCallback(hWnd, Message, wParam, lParam)
    If Message = #WM_SIZE
      UpdateTB()
    EndIf
  EndProcedure

  SetWindowCallback(@SizeCallback())

  Procedure SizeCallback(hWnd, Message, wParam, lParam)
    If Message = #WM_SIZE
      UpdateTB(0)
      UpdateTB(1)
    EndIf
  EndProcedure

  SetWindowCallback(@SizeCallback())


Supported OS:   Windows