gui

What are the best resources for designing user interfaces?

Specifically, what are some GUI resources on the web based on case studies that suggest best practices on a scientific basis rather than a subjective one? ...

How do you change the color of the border on a group box?

In C#.NET I am trying to programmatically change the color of the border in a group box. ...

Adding item to the Desktop context menu in Windows

Hi, I want to add an item into the Desktop context menu (the menu you see when you right-click on an empty space on the Windows Desktop). Something like Catalyst Control Center in this screenshot: I know how to add items to files' and folders' context menus through registry, but the Desktop seems to work differently: I didn't even f...

Rich User Interface on Embedded Linux Device

I'm designing a user interface for a large touchscreen device running Linux. What would be the best toolkit/developer kit/SDK to use? The only requirement is that its able to run on a semi-low performace device, and that there is a Linux version. Nice-to-haves would be build in support for effects/animations and a modern look-and-feel...

Chart controls for MFC application?

I would like to have some suggestions about which third-part controls can we use in our Visual C++ MFC application? ...

.NET (C#): Getting child windows when you only have a process handle or PID?

Kind of a special case problem: I start a process with System.Diagnostics.Process.Start(..) The process opens a splash screen -- this splash screen becomes the main window. The splash screen closes and the 'real' UI is shown. The main window (splash screen) is now invalid. I still have the Process object, and I can query its handle, m...

Testing GUI code: should I use a mocking library?

Recently I've been experimenting with TDD while developing a GUI application in Python. I find it very reassuring to have tests that verify the functionality of my code, but it's been tricky to follow some of the recommened practices of TDD. Namely, writing tests first has been hard. And I'm finding it difficult to make my tests readable...

Cleanest way to stop a process on Win32 ?

While implementing an applicative server and its client-side libraries in C++, I am having trouble finding a clean and reliable way to stop client processes on server shutdown on Windows. Assuming the server and its clients run under the same user, the requirements are: the solution should work in the following cases: clients may...

What is a good GUI / Widget toolkit for windows?

So I'm pretty much fed up with WTL and Windows Forms, and not entirely convinced of the direction WPF is heading, I use it but I think it still has some quirks, and there's the fact that you need to ship the .NET framework with it. I know there is QT and GTK. Are there any other modern solutions? Adobe AiR/Flex comes to mind, but that a...

How do I disable a button cell in a WinForms DataGrid?

I have a WinForms application with a DataGridView control and a column of DataGridViewButtonCell cells within that. When I click on one of these buttons, it starts a background task, and I'd like to disable the buttons until that task completes. I can disable the DataGridView control, but it gives no visual indication that the buttons a...

best Java GUI Editor

I know there is nothing called the best Java IDE (eclipse, netbean,...) each one has its own speciality but when it comes the GUI Editor (visual Editor) there are some interesting items out there i would love to know which one is the most recomanded thanks I am not asking for a full IDE, i am sking about any GUI editor or plugin for a...

Where do I start learning about GUI programming?

I have a pretty good knowledge of programming languages like C/C++, Java, Python. But they were all mostly learnt in a college / high school class room setting where the best user interface was a numbered menu. You know, the standard data structures, implementation of various algorithms, file handling and the like. What I want to do no...

Whats a good way to trim the GUI of a ASP.NET website?

I've been trimming the UI of our website by doing the following in the onload event of that control: btnDelete.isVisible = user.IsInRole("can delete"); This has become very tedious because there are so many controls to check again and again. As soon as I get it all working, designers request to change the UI and then it starts all ov...

Java: How can I see what parts of my code are running the most?

I am writing a simple checkers game in Java. When I mouse over the board my processor ramps up to 50% (100% on a core). I would like to find out what part of my code(assuming its my fault) is executing during this. I have tried debugging, but step-through debugging doesn't work very well in this case. Is there any tool that can tell ...

Best Practices & Principles for GUI design

What is your best practical user-friendly user-interface design or principle? Please submit those practices that you find actually makes things really useful - no matter what - if it works for your users, share it! Summary/Collation Principles KISS. Be Clear and Specific in what an option will achieve: e.g.: use verbs that indic...

GUI Testing

I'm working on the issue of testing my GUI and I'm not entirely sure of the best approach here. My GUI is built using a traditional MVC framework so I am easily able to test the logic parts of the GUI without bringing up the GUI itself. However, when it comes to testing the functionality of the GUI, I'm not really sure if I should worry ...

Which is the best tool for automatic GUI performance testing?

We are currently testing a Java Swing application for it's performance. I wonder if there is a good tool to automate this? ...

What Python GUI APIs Are Out There?

Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs. ...

Can JQuery read/write cookies to a browser?

Simple example: I want to have some items on a page (like divs or table rows) and I want to let the user click on them to select them. That seems easy enough in jquery. To save which items a user clicks on with no server-side post backs, I was thinking a cookie would be a simple way to get this done. Is this assumption that a cookie is...

Automatically select all text on focus in WinForms TextBox

When a C# WinForms text box receives focus, I want to select all the text in the textbox. To see what I mean, click in your web browser's address bar. See how all text was selected? I want to do that. FASTEST GUN ALERT: please read the following before answering! Thanks guys. :-) Calling .SelectAll() during the .Enter or .GotFocu...