BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
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 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 REPLY 1
Ralph Wessel
Mentor
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
Learn and get certified!