Skip to content

OnCreateTabbedWorkspace - cCJCommandBarSystem

Can be used to customize the appearance of your tab bar

Type: Event

Parameters

Parameter Type Description
hoTabWorkspace Handle Handle of the cCJTabWorkspace object
hoTabPaintManager Handle Handle of the cCJTabPaintManager object

Syntax

Procedure OnCreateTabbedWorkspace Handle hoTabWorkspace Handle hoTabPaintManager

Description

Called when tabbed workspaces are enabled (pbTabbedWorkspaces = True) during command bar activation.

This can be used to customize the appearance of your tab bar. To do this you will send COM messages to either the hoTabWorkspace (cCJTabWorkspace) or the hoTabPaintManager (cCJTabPaintManager). You are most likely going to call cCJTabWorkspace's ComFlags or hoTabPaintManger's ComShowIcons.