- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
select which variable to use.
If you wanted to display all variable values, you
could use a list box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can tell you that dialogs themselves do not scroll. The other questions someone else will have to help with.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page