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

Modifying the window size in the .grc does not work

Anonymous
Not applicable
1. I created an add-on with a menu item which shows a modal dialog.
2. I ran the add-on with Constructor.
3. I modified the size of the dialog in the .grc.
4. I ran the add-on with Constructor.

My problem is that the dialog size did not change.

I guess that Constructor saves all window sizes, not just the resizable ones, in the registry or in some config file.

How can I reset the saved window sizes and try out my new size?
2 REPLIES 2
Anonymous
Not applicable
I found it, DGResetDialogRectangles.
Akos Somorjai
Graphisoft
Graphisoft
That information is stored in the registry, under HKLM\...\ArchiCAD\Dialog Manager\Stored Dialog Rectangles.


You will also need to reset this information if you work on an add-on, and resize a dialog in the .grc file.

HTH,

Akos

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!