|
There is no best way -- UI design is really an art.
My best recommendation to you, is just do your best. Then budget some time into your project for Usability/UI review.
Find a few people in your target market, ask em to use your product without any coaching or documentation -- see if they can figure it out. Video tape them doing that....
The adjust it and try again.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>
|
|
|
|
|
Peter,
In general do you prefer SDI or MDI applications? I remember to read in the past that microsoft suggest SDI model because for the users is more easy to understand.
If only I could find that URL... It was something from microsoft...
Thanks,
Alberto Bencivenni
devDept Development Team Leader
Topology Optimization | Finite Element Method | Cad/Cam | OpenGL | Programming
|
|
|
|
|
I prefer SDI.
Use MDI only if you have no other choice. There aren't that many MDI applications out there anymore. Excel and Visual Studio are good MDI applications, but in that sense MDI makes good sense.
Word is no longer MDI. Why? Because it doesn't make sense to edit unrelated documents in the same window....
For Excel, MDI makes a little more sense -- as does in Visual Studio.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>
|
|
|
|
|
Alberto Bencivenni wrote:
...but this guide does not contain suggestions, only explanations...
Hmmm, it suggests that:
Buttons be 14x50 DLUs
4 DLUs be used to separate buttons and controls
Small toolbar buttons be 16x16 pixels
A group box be used to group related controls
Vertical fields should be aligned by their left edges
Command buttons should be aligned at the top right
Every file your program creates should have a registered file type
Copying files into the Windows folder or its System subfolder should be avoided
When you design for network access, support standard conventions such as UNC
Abbreviations be avoided unless the abbreviated form is as familiar to your users as the full word or phrase
One of two styles of capitalization be used: book title, or sentence-style
Numbers be aligned at the decimal point
Icons should be supplied in 16-color and 256-color versions
A pointer's hot spot location should be intuitive
...
A book you might consider is here.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi
I have a CButton on a dialog. On click of the button, I want to create another dialog and poisition it just below the CButton. I tried using GetWindowPlacement on click of button on the first dialog and SetWindowPlacement in OnInitDialog function of the second dialog, but I am not able to position the second dialog correctly. Can anyone please help me to do this.
Thanks
Madhavi.
|
|
|
|
|
SetWindowPos() may be better.
moreover, use a CRect to get the position of you button like this (thanks to Chris Maunder for his Unclickable button[^]) :
CWnd* pParent = GetParent();
<font color=#0000FF>if</font> (!pParent) pParent = GetDesktopWindow();
<font color=#008000>
CRect ButtonRect; <font color=#008000>
GetWindowRect(ButtonRect);
pParent->ScreenToClient(ButtonRect);
CPoint Center = ButtonRect.CenterPoint(); <font color=#008000>
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi Cpians,
In one of my project, I need signed Key Algo. As crypto always go miles over my head. So if any provide me nice pointer or source code.
Let me explain looking for this type of thing. Using user name (any name) I generate the Key, that key I verify in the component with Public key. If it is ok, I will allow user to use my Component.
Here only I looking for some algorithm where I can put private Key & Username and in return it give me User Key, Public key.
Any Help is Greatly Appreciated
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Currently I have a call back function that will send info from the library to the application throughout a certain period of time. The problem I've encountered is that there is no reaction on the button that is base on the application.
On Visual C++ 6.0, how to I identify a user who is having what kind of privileges? (i.e admin privilege, etc)
|
|
|
|
|
max_gundam15 wrote:
On Visual C++ 6.0, how to I identify a user who is having what kind of privileges? (i.e admin privilege, etc)
this api will help you NetUserEnum
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Hi All,
I have an function exported from a dll:
HRESULT FuncName(LPWSTR *, LPSTR * *, ULONG);
When I link to this function from the client program, it gives link error(Unresolved externals.
When I change the first Parameter of the function to LPSTR* instead of LPWSTR*, it works fine.
Why LPWSTR is not working? Any idea how to solve the issue.
I am using VS.Net 2003 and porting some VS6 projects to VS.Net.
Both these dll and client are working perfectly fine in vc6
Thanks...
|
|
|
|
|
|
How to format a data drive automatically? (without user action!)
|
|
|
|
|
|
Which would still require user interaction.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
better to suggest ??
DavidCrow wrote:
Which would still require user interaction.
just set the right parameters for the format program...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
just set the right parameters for the format program...
Format.com has no parameters that suppress the prompts. The only way to accomplish this is to plug the keyboard buffer prior to running the format program. I would never suggest using system() but since the OP has expressed interest in it, it could be modified such as:
system("echo.|format a:");
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
<<**--..__..--**>>
system("format C:");
system("y");
<<**--..__..--**>>
|
|
|
|
|
Then, how to hide the cmd window?
|
|
|
|
|
Hello all:
I want to print color images to a monochrome printer device, How should I do with the CDC class to let the image accommodate to the printer?
Lisoft
|
|
|
|
|
Hi, everyone:
I had a problem about how to show the hint text in a dialog just like what would happen when you move your mouse close to the button of a toolbar and wait for a moment. If the user put his/her mouse on a button for a moment, the hint text would show like that in the toolbar. Can somebody tell me what to do? Thanks!
|
|
|
|
|
Hi,
Use the following code. It will work
In Dialog's header add
CToolTipCtrl tooltip;
in Dialog's on initdialog add
tooltip.Create(this,TTS_ALWAYSTIP);
CWnd *pWnd = GetDlgItem(IDC_BUTTON_BC1);
tooltip.AddTool(pWnd,"Hello Testing ",NULL,NULL);
Add the PreTranslateMessage for the dialog and add the following code
tooltip.RelayEvent(pMsg);
Sujan
|
|
|
|
|
Have you looked at EnableTooltips() function and the TTN_NEEDTEXT message.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hello all,
Special thanks to Michael Dunn. I tried what you wrote to me, and it worked just fine. I'm talking about adding DefaultIcon to HKCU instead of adding to HKCR.
Here is another question.
I'm using system image list in my list control and I can't figure out how to show file icons from .exe files. All icons in my list control are shown right, except for .exe and .ico files. I know that I can't really read icons from those files and add to the image list since it's system image list(read only). Is there any other way I can show icons from .exe, .ico files in the system image list?
Thanks in advance, any help is appreciated.
|
|
|
|
|
Hello all. I'm new developing with Dev C++. But I'm worried. I don't see MFC library installed with Dev C++. Is there any thing I can do to use MFC with DevC? Where can I get the source and libraries? I tried looking at Microsoft's, but I found nothing.
Thanks for your help,
Kith.
|
|
|
|
|
that's normal, MFC are microsoft libraries for window oriented programmation. if you work with borland, you'll find other classes, and with DevC++ (that I didn't even heard of before) other else...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|