Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Questions about editing .rc files

Intel_C_Intel
Employee
563 Views
I want to modify a dialog application to handle a larger number of variables. In each dialog, which currently has 20 identical rows of buttons and edit boxes (corresponding to 20 variables), I have to increase the number of rows to (say) 60.

I dread the idea of adding and aligning these new rows using copy-paste-drag-drop, and then having to modify the corresponding symbol names so they follow the desired pattern. I am considering the option of enlarging the dialog and adding these new rows by editing the .rc file with a text editor. I found documentation for the rc file in the SDK documentation.

My questions are as follows:

1. Is this advisable at all?

2. Are there smarter ways of doing this? It took me a long time to create these dialogs the first time around.

3. Do I have to edit resource.h to add new symbols or is resource.h updated automatically?

4. If the dialog size exceeds the screen size, does the dialog automatically develop scroll bars?

Thanks in advance,

Gabriel
0 Kudos
2 Replies
alfredwodell
Beginner
563 Views
Why not use one edit box and a drop-down list box to
select which variable to use.
If you wanted to display all variable values, you
could use a list box.
0 Kudos
Steven_L_Intel1
Employee
563 Views
I can tell you that dialogs themselves do not scroll. The other questions someone else will have to help with.

Steve
0 Kudos
Reply