When to use ellipsis after menu items

The crucial factor is whether the menu option requires additional information (input or a selection) before it carries out the operation. So Help-About doesn’t require an ellipsis, but File-Open does. That’s what the Microsoft, Apple and KDE guidelines say anyway. Microsoft Windows applications are supposed to follow Microsoft’s “User Experience Guidelines”. Here’s what they say … Read more

Should unauthorized actions in the UI be hidden, disabled, or result in an error? [closed]

Hidden – This is the best approach for actions that are never available to the current user. There is no point in having the user waste mental effort figuring out why something is disabled if there is no action they can take to change this. Disabled – This is the best approach for actions that … Read more

Very simple, terse and easy GUI programming “frameworks” [closed]

Not to kid, but HTML. It’s cross-platform, and sums up the gui-layout in a simple textfile. It’s definitely mature, as well as well-understood and well documented. There’s a bunch of ways to template HTML files for dynamic content, and other ways to convert custom syntaxes to HTML if you dislike angle-brackets. Client-side scripting w/ Javascript, … Read more

How are text editors generally implemented?

One technique that’s common (especially in older editors) is called a split buffer. Basically, you “break” the text into everything before the cursor and everything after the cursor. Everything before goes at the beginning of the buffer. Everything after goes at the end of the buffer. When the user types in text, it goes into … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)