Hiding the title bar of DockableWindow

Hiding the title bar of DockableWindow

Lukas_cp
Participant Participant
607 Views
1 Reply
Message 1 of 2

Hiding the title bar of DockableWindow

Lukas_cp
Participant
Participant

I'm trying to hide the title bar of DockableWindow, but this line has no visible effect.

 

DockableWindow.ShowTitleBar = false;

 

 

This is how I instantiate the DockableWindow.

 

_buttonDefinition = _inventorApplication.CommandManager.ControlDefinitions.AddButtonDefinition
(
    DisplayName: "My command", 
    InternalName: "MyCommand.InternalName",
    Classification: CommandTypesEnum.kShapeEditCmdType,
    ClientId: _clientId
);

_buttonDefinition.AutoAddToGUI();
_buttonDefinition.OnExecute += ButtonDefinitionOnExecute;

_dockableWindow = _inventorApplication.UserInterfaceManager.DockableWindows.Add
(
    ClientId: _clientId,
    InternalName: "MyDockableWindow.InternalName",
    Title: "My Dockable Window"
);

_dockableWindow.ShowTitleBar = false;

 

DockableWindowTitleBar.png

 

Is there any way to hide or remove the title bar?

 

Thanks

Lukas

0 Likes
608 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor

Indeed I see that it has no effect.

This I-logic code shows that it has no effect.

Dim _dockableWindow As Inventor.DockableWindow = ThisApplication.UserInterfaceManager.DockableWindows.Add("1235srs","MyDockableWindow.InternalNamesrs","My Dockable Windowssr")


_dockableWindow.SetDockingState(DockingStateEnum.kFloat)
_dockableWindow.ShowTitleBar = True
MsgBox(_dockableWindow.ShowTitleBar)
_dockableWindow.ShowTitleBar = False
MsgBox (_dockableWindow.ShowTitleBar)

 

@johnsonshiue Could you and your team take a look at the behavior?

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes