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

Streamline your workflows and master BIM coordination! Program starts April 28!

Archicad C++ API
About Archicad add-on development using the C++ API.

Dialog item (static text) auto-resize

ReignBough
Enthusiast
Is there a way to simulate an auto-resize of a static text? When I have a long message, I want to resize the height of the static text until all the message is shown.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 REPLY 1
ReignBough wrote:
Is there a way to simulate an auto-resize of a static text? When I have a long message, I want to resize the height of the static text until all the message is shown.
You could probably work this out using APIAny_GetTextLineLengthID.
Ralph Wessel BArch
Central Innovation