Modifying the window size in the .grc does not work
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-03-09
07:39 PM
- last edited on
‎2023-08-07
10:10 AM
by
Doreena Deng
‎2007-03-09
07:39 PM
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. 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?
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-03-12 10:59 AM
‎2007-03-12
10:59 AM
I found it, DGResetDialogRectangles.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-04-13 04:39 PM
‎2007-04-13
04:39 PM
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
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