
Public Member Functions | |
| virtual boolean MCCOMAPI | SetCurrentTool (int32 inToolID, boolean inRedraw, boolean inNotify=true)=0 |
| virtual void MCCOMAPI | SetLayoutOrientation (ELayoutOrientation inLayoutOrientation)=0 |
| virtual void MCCOMAPI | SetLayoutStyle (ELayoutStyle inlayoutStyle)=0 |
| virtual void MCCOMAPI | SetIsGlobal (boolean inIsGlobal)=0 |
| virtual void MCCOMAPI | SetToolSelectRecipient (IMFResponder *recipient)=0 |
| virtual void MCCOMAPI | SetToolManipulationResponder (IMFResponder *inResponder)=0 |
| virtual void MCCOMAPI | SetRespectWindowActive (boolean inValue)=0 |
| virtual int32 MCCOMAPI | GetCurrentTool ()=0 |
| virtual ELayoutOrientation MCCOMAPI | GetLayoutOrientation () const =0 |
| virtual ELayoutStyle MCCOMAPI | GetLayoutStyle () const =0 |
| virtual void MCCOMAPI | AddToolsFromTBARResource (ResourceID inTBARID)=0 |
| virtual void MCCOMAPI | AddTool (int32 inToolID, EToolStyle inToolStyle, ResourceID inImage[kTotalImages], int16 inToolKey, const TMCString &inName, ActionNumber inActionNumber, boolean inIsAlwaysEnabled, boolean inIsShadowed, int32 inAfterIndex)=0 |
| virtual void MCCOMAPI | ResetTools ()=0 |
| virtual void MCCOMAPI | EnableAllTools (boolean inEnabled)=0 |
| virtual IMFResponder *MCCOMAPI | GetToolSelectRecipientNoAddRef ()=0 |
| virtual IMFResponder *MCCOMAPI | GetToolManipulationResponderNoAddRef ()=0 |
| virtual boolean MCCOMAPI | SelectTool (int32 inToolID)=0 |
| virtual IMFPart *MCCOMAPI | GetThisPart ()=0 |
Toolbars can be constructed manually using these functions, or from a TBAR resource. See MFRTypes.r for the definition of a TBAR resource structure. Note that there are special tool types for defining groups of tools to stack, as follows. The tools between these two keys in a TBAR resource will be stacked.
tBeginToolGroup, "", noKey, noAction, normalEnabling, style_normal { noShadow, 0, 0, 0, 0, 0, 0 },
tEndToolGroup, "", noKey, noAction, normalEnabling, style_normal { noShadow, 0, 0, 0, 0, 0, 0 },
| virtual boolean MCCOMAPI IMFToolbarPart::SetCurrentTool | ( | int32 | inToolID, | |
| boolean | inRedraw, | |||
| boolean | inNotify = true | |||
| ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetLayoutOrientation | ( | ELayoutOrientation | inLayoutOrientation | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetLayoutStyle | ( | ELayoutStyle | inlayoutStyle | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetIsGlobal | ( | boolean | inIsGlobal | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetToolSelectRecipient | ( | IMFResponder * | recipient | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetToolManipulationResponder | ( | IMFResponder * | inResponder | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::SetRespectWindowActive | ( | boolean | inValue | ) | [pure virtual] |
| virtual int32 MCCOMAPI IMFToolbarPart::GetCurrentTool | ( | ) | [pure virtual] |
| virtual ELayoutOrientation MCCOMAPI IMFToolbarPart::GetLayoutOrientation | ( | ) | const [pure virtual] |
| virtual ELayoutStyle MCCOMAPI IMFToolbarPart::GetLayoutStyle | ( | ) | const [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::AddToolsFromTBARResource | ( | ResourceID | inTBARID | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::AddTool | ( | int32 | inToolID, | |
| EToolStyle | inToolStyle, | |||
| ResourceID | inImage[kTotalImages], | |||
| int16 | inToolKey, | |||
| const TMCString & | inName, | |||
| ActionNumber | inActionNumber, | |||
| boolean | inIsAlwaysEnabled, | |||
| boolean | inIsShadowed, | |||
| int32 | inAfterIndex | |||
| ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::ResetTools | ( | ) | [pure virtual] |
| virtual void MCCOMAPI IMFToolbarPart::EnableAllTools | ( | boolean | inEnabled | ) | [pure virtual] |
| virtual IMFResponder* MCCOMAPI IMFToolbarPart::GetToolSelectRecipientNoAddRef | ( | ) | [pure virtual] |
| virtual IMFResponder* MCCOMAPI IMFToolbarPart::GetToolManipulationResponderNoAddRef | ( | ) | [pure virtual] |
| virtual IMFPart* MCCOMAPI IMFToolbarPart::GetThisPart | ( | ) | [pure virtual] |
1.5.3