Solved

UI design in MFC

Posted on 2002-07-07
7
748 Views
Last Modified: 2013-11-20
i build a tabbed- dialog which interact with different modules in some instrument.
each module is controlled in a different tab.
the application suppose to tests the modules by sending different parameters such as temperature, position, and so on.
for each module (tab in our UI case) there are several tests and actions which the user can perform, the problem is that each test/action has different parameters.
my problem is that right now my tabs are full of controls which represents the parameters that can be set by the user for whole the tests/actions and the feedback that is being retreived during the test/action!!! MESSY.
i'm trying to think of easy and more clean way to disdplay the parameters for each test/action seperately.
for example, upon click on test/action in the list the relevant parameters will be displayed on the tab.

currently my tab are similar and look like this
________
|      |
|      ---------------------------------------------
|                      |   parameters & feedback
| actions List ctrl    |  
| ----------------------
|                      |
| tests List ctrl      |
| ----------------------
| action/tests comments|
|-----------------------------------------------------
|
|  List view which respnsible for warning/error log
|_____________________________________________________

what do u reckon?
0
Comment
Question by:sedgwick
7 Comments
 
LVL 42

Author Comment

by:sedgwick
ID: 7136460
the tab came out all wrong but iu hope u got the main idea.
0
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 34 total points
ID: 7136743
0
 
LVL 42

Author Comment

by:sedgwick
ID: 7139176
i already  looked at those links.
consider average of up to 7 tests and actions in each tab.
i have 9 modules which give me 9*7=63 dialogs/property sheets all together HUGE overhead.
i'm looking for simplest and quickest solution.
0
 
LVL 16

Assisted Solution

by:AlexNek
AlexNek earned 33 total points
ID: 7140793
2 sedgwick
It is hard to suggest design without deep knowledge of the problem.
First, you can try to find a "shared" elements. By sample: "List view which responsible for warning/error log". If you add for each line in the list module/test number you can use only one log window.
Second, if the each module has similar parameters, you can use one "parameters block". Possible hide/disable some items.
Third, you can use for test/action/module selection grid or three structure.
Other idea: UI interface you can use only for result showing. Parameters/test/actions can be set via script.
Script can be produced with other UI module.
0
 
LVL 1

Assisted Solution

by:gurly
gurly earned 33 total points
ID: 7140815
Another idea - you can use a smart list control / grid for all the parameters. Something like the tabs in MSAccess design views. (for example - when you create a new table in MSAccess, go to design view and see the list at the lowest pane). This list control will, offcourse, hold some controls in it, like combo boxes, etc.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Importing Special Characters in Dynamics GP Through Integration Manager 3 82
sum67 challenge 35 110
matchUp  challenge 9 115
wordmultiple challenge 12 142
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question