user-interface

jQuery UI Dialog, How to change text once the dialog is opened.

I'd like to click a button in a dialog and change the text on the message area before running the function associated with the button or simply change the text as part of the function. ...

Keep thread waiting on windows form response?

I have a windows forms application that runs two threads simultaneously, with the UI thread running in the task bar. The UI thread actually performs completely separate functionality from the other process, but in the case that a new user logs into the application, I need to pop up a setup window from the non-UI thread. Here is the cod...

Autocomplete vs Drop-down. When to use?

I've read somewhere (can't remember/find where) an article about web usability describing when to use drop downs and when to use autocomplete fields. Basically, the article says that the human brain cannot store more then the last five options presented to choose. For example, in a profile form, where there is your current occupation, ...

Recommendations for good ways to display user messages in asp.net?

I have an app full of pages and user controls, many of which have one or more label controls on them for displaying various different messages to the user. Example: the AddCompany.ascx user control, normally used on the Company.aspx page (with App.Master MasterPage) has a label on it called "OutOfCreditLabel" with Text="Error: You canno...

iPhone UI design help

How can I learn how to design a good iPhone interface, beyond the few docs provided by Apple. Also, what the best way of testing the interface especially when the application is original? ...

How to draw a circle to denote selection in html

Env: jQuery, html John had a big lunch, so he might want / might not want to eat this evening. Assuming you pose this question to a student, he will have to either circle (might want or might not want) to answer it in paper-pen test. How do you mimic drawing a circle around the text when he clicks on those words and toggle the selecti...

Disabling or hiding controls design guideline?

I have checked the design guidelines from the Android developers recently and found the recommendation to use at least 4 states for interactive ui elements. default, disabled, focused, pressed see http://www.slideshare.net/AndroidDev/android-ui-design-tips, slide 13 On the other hand in slide 10 it is said to make the right things vis...

Elegant UI for associations with a lot of data

I have an e-commerce website where it is necessary to make a number of associations e.g. a product needs a category, manufacturer, associated products, etc. When there is only a fairly small, limited amount of data e.g. Manufacturer I simple use a drop down or option boxes for the user to pick the relevent field / fields. However for i...

Does anyone use a style guide for error messages?

I've noticed that error messages tend to be written in a handful of common styles. Either in full-form, casual-friendly sentences, or in shortened passive ones that don't always form a full sentence. The latter of the two seems to be the more common - though maybe not as common as the haphazard mixing of styles that I see in a lot of app...

With QT, is there a way to specify different UI layouts for different UI styles?

I've got a cross platform Qt app, and no matter how I tweak the UI, it always looks good on some platforms and bad on others, due to the differences between UI styles. For example, margins seem to be universally set, even while the underlying elements shift in size dramatically from one platform to another. What's the recommended way t...

Android - How to make UI look same across devices?

There is a variety of devices on the market, with different screen sizes, resolutions and pixel density. What are some layout preferences or tips/tricks that are generally used to make sure the app looks the same across devices? Thanks Chris ...

Using Java to wrap over C++

Hello, I have a project written in C++ and I'm looking to write a Java GUI as an interface to it. The choice of Java is fixed so I'd need to learn how to be able to call the C++ code from Java. Rewriting the C++ code is not an option. I'd like input on: What tools can I use to achieve this wrapping. How much of the C++ code would I h...

iphone app user interface on-rotation behavior

How in your opininon should and iPhone app interface behave when one rotates the device? Should it adapt: should some elements go from upper part of display (portrait) to the side (landscape)? Should it stay locked in app's native orientation? Is there any common practise ...

jQuery UI Autocomplete - how do I get the user entered value

Disclaimer: I have gone through the related questions, and could not find solutions to this particular issue. Scenario is this: Based on whether the user selected a suggestion from the dropdown or if there are no matches, I want to execute different jQuery ajax actions. How do I do this? The place where I am stuck is how to capture th...

What to do with selected rows when user hits the cancel button on a certain action

View Users page lists all users in the system. You can multiselect users via checkboxes and press the 'Remove' button to delete them from the system. We throw a confirmation dialog, to ask if the end user wanted to delete the users. If he presses the 'Ok' button we remove the users, if he presses the 'Cancel' button we don't perform any ...

user interface guidelines for a website targeting kids

We are planning to design a website for evaluating kids (games, quiz). Are there any specific user interface guidelines for targeting the kids (e.g. keyboard usage in a laptop or a standalone keyboard, ability to control a mouse, ability to navigate the user interface and its controls, size of buttons, page navigation)? We are looking fo...

Primary keys on webforms (load initially or on save) ?

This is just a general question irrespective of database architecture. I am maintaining an ASP.NET web application. The structure is such that, Say on 'Add a new employee' webform The primary key (or the record id to be saved with) is initially loaded on form load event & displayed as a label So when the form loads, the record id to ...

What are some good fonts for User Interfaces? And what about Unicode?

Hi, I am working on a user interface, and I am wondering what fonts do other software use like Photoshop, Windows, etc use in their interface. They can't be using Arial and Tahoma, right? This is a web application I am working on, and I can use @font-face. But what about Unicode support? I would not like to put any limits on i18n. ...

need help with iphone movable button??

does anyone know what component this app is using??? http://tiny.cc/ebsh7 I know it use uipagecontrol to control the page but i don't know what they use to control the button ...

WPF - Updating Label Content During Processing

Hey all Well I've tried several methods of getting this to work, background worker, Dispatcher.Invoke, threading within the called class and nothing seems, to work. The best solution so far is an Extension method which calls the invoke of the control. Also I've tried avoid passing the data for the label through my event classes and simp...