Solved

UI design in MFC

Posted on 2002-07-07
7
744 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 124
Hibernate methods 2 71
lucky13 challenge 11 144
Problem to App 4 82
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 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