I have the following code for population a ListView from a background thread (DoWork calls the PopulateThread method):
delegate void PopulateThreadCallBack(DoWorkEventArgs e);
private void PopulateThread(DoWorkEventArgs e)
{
if (this.InvokeRequired)
{
PopulateThreadCallBack d = new PopulateThreadCallBack(this.PopulateTh...
In my opinion treeviews are overused, therefor I don't really care for them. Sometimes they're necessary but I can imaging that one could always find a good alternative to the standard treeview.
What are some other innovative ways to display hierarchical information that convey the same information without the drab of a treeview? Which ...
I have seen numerous ads/sites poking fun of a cluttered user interface by setting it up side by side with, say, Google and having a caption like: this is your site / this is theirs.
That’s all very funny, but actually, Google only needs a textbox and a submit button.
What about when your page is a data entry form, say an order entry ...
Hello everyone,
I am using VSTS 2008 + C# ASP.Net application type project. My requirement is, I want to let UI designer to work independently with business logics developer. Since UI designer (normally) do not know how to fill Grid View control using code to connect to database. So, my question is, if there are any ways to generate fak...
A UI question: is there some consensus on the best (defined as "the one which end-users like best") or least-bad way to implement data entry into a grid?
I have a grid, with many rows. The grid's columns contain various types of properties, which the user can enter/edit. The "types" of properties include:
Free text
Numbers (numeric di...
Imagine you could ask someone to develop your ideal IDE for you, what features would it need to have?
This is largely inspired by a related SO question ("Improving the way we write code") and a response to it listing various interesting and desirable IDE features from a user interface point of view.
By asking this question, I am hoping...
In my web site, I am currently custom handling two HTTP errors: 404 Not Found and 403 Forbidden. This "handling" consists of redirecting the user to a custom error page specific to the particular error. Are there any other HTTP (or, in fact, other kinds) errors that occur often enough to warrant a custom redirect and page?
...
After having to register at one more website, and hitting stupid restrictions on the Username (no spaces or special characters), I'm wondering why we still have programmers restricting things like that. Is there a concensus on the methodology of allowable usernames?
...
Hi all,
I'm investigating the Model View Presenter pattern. So far I like what I see, however pretty much all of the articles, webcasts, podcasts etc. I've seen, read or heard tend to deal with setting and retrieving simple types from textboxes and I'm struggling to understand how to deal with more complicated UI controls.
For example,...
In some application with UI, what is better (easy, friendly, etc.) to a user:
UI is static (don't depends on user state). E.g user see some button, but it's grayed out or when it's clicked, a message, that this action is not applicable right now, is shown.
or
UI is dynamic (depend on user state). E.g. user don't see buttons, that a...
I need to get the X,Y coordinates (relative to the document's top/left) for a DOM element. I can't locate any plugins or jQuery property or method that can give these to me. I can get the top and left of the DOM element, but that can be either relative to its current container/parent or to document.
...
I am a newbie working towards developing an IE extension that would appear as an overlay in certain webpages. I am getting started by creating a simple BHO in VS2008 (using C++), but I am wondering how UI may be incorporated within the project. Any ideas?
Just to give you an idea, I'm looking for overlays similar to what was developed by...
Someone, back in the day (2001) wrote a script to create a Doc-Bar in Word XP that would allow for tabbed interface of open Word documents (thus saving precious Taskbar space):
http://msdn.microsoft.com/en-us/library/aa155741(office.10).aspx
However, the links/script mentioned in the package have mysteriously disappeared.
Does anyone ...
I often use applications and electronic devices for which I think: "Why on earth did they engineer that thing as it is? They must have known that it is a pain in the neck to work with".
On the other hand I often observed that I created a (G)UI that I was convinced about, that it'd delight my customers and was a breeze to work with. Alth...
I am developing a public website which is the front end to information about medical conditions.
After the user does a search (questionnaire based) they are presented with the results which are categorised in to sections and sub-sections.
Information items can be assigned to both sections and sub-sections.
At the moment sections are...
Which you think is the best way of doing a wizard like application (user can navigate between screens with a next and back button, and each screen has to save some state data) in Android platform.
I mainly can think in two approaches:
Having one activity+view for each screen and then i make the screen switch by calling each activity. ...
So I downloaded a custom themed UI for jQuery and added the calendar control to my sight (Example: link text). In the example it shows/displays the size I would like but on my webpage it's about twice the size. why???
I do have a ton of other CSS but I don't have control over the look and feel of the page (Can't touch current CSS, MEH!...
N.B. Keep in mind the difference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes.
I'm programm...
Hello everyone,
My working environment is VSTS 2008 + C# + .Net 3.5. I want to learn the differences between UI thread and worker thread, and any other types of thread (i.e. non-UI thread is the same as worker thread)? I also want to learn the restrictions of what we can do on each type of threads and best practices to avoid any issues....
I have an NSButton in a mac application whose colour I'd like to change programatically but nothing I tried seems to work. I tried to create an output on the NSButtonCell and set the background color there but that didn't work either. Any code snippets would be helpful.
...