cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 

How to dock the RollDownPalette (Solved)

Thank you for your continued support.


I apologize for the sudden post.

 

Regarding the article "How to dock the RollDownPalette" that I posted in the past,
although a long time has passed since the original post, I recently received a message from NMK195 with the solution, and it turns out that docking is indeed possible. I would like to share this information.

(Since I could no longer add to that post, I'm creating this as a new thread.)

 

screenshot.png

The method is quite simple: specify UD::IRollPanel::HVGrow as the argument for the SetGrowType() function that is executed in the constructor of each tab page contained in the roll-down palette.

 

UD::IRollPanel* Panel_A = rollDownPanelSet->CreateRollDownPanel();
Panel_A->SetTitle(RSGetIndString(ID_ROLLDOWN_PARETTE, 2, ACAPI_GetOwnResModule()));
Panel_A->SetGrowType(UD::IRollPanel::HVGrow);  //<-- Docking possible by setting up 'HVGrow'


In the past, I had set this to UD::IRollPanel::NoGrow, which prevented docking.

Additionally, like regular palettes, it's necessary to assign a Guid to the palette.

 

If these conditions are met, the roll-down palette can be docked to Archicad.

 

Thank you very much to NMK195 for providing this information.

 

I'm leaving source files that can build a dockable roll-down palette. (It can be executed in Archicad 28.)

I hope this post will be helpful to everyone.

0 Replies 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!