gui

Is help file (or user manual) dead?

Back in the days of Unix, you couldn't even close a software without reading the man page first. Then came Mac and Windows with consistent menu layout and keyboard shortcuts, but you still saw paper user manuals shipped in the shrinkwrap box, which described each and every single operation possible in the app. After the Internet, help fi...

Are there any open source PHP-based source control scripts that have a GUI?

I've been looking for one, but haven't been able to find anything that's even close. Edit: I really would prefer something that's completely written in PHP, with a web interface rather than a command line. It doesn't have to have all the bells and whistles. ...

How do I make a ListBox refresh its item text?

I'm making an example for someone who hasn't yet realized that controls like ListBox don't have to contain strings; he had been storing formatted strings and jumping through complicated parsing hoops to get the data back out of the ListBox and I'd like to show him there's a better way. I noticed that if I have an object stored in the Li...

How to determine the size of the button portion of a Windows radio button

I'm drawing old school (unthemed - themed radios are a whole other problem) radio buttons myself using DrawFrameControl: DrawFrameControl(dc, &rectRadio, DFC_BUTTON, isChecked() ? DFCS_BUTTONRADIO | DFCS_CHECKED : DFCS_BUTTONRADIO); I've never been able to figure out a sure fire way to figure out what to pass for the RECT. I've been u...

How to implement the Edit -> Copy menu in c#/.net

Hi, How do I implement a Copy menu item in a Windows application written in C#/.NET 2.0? I want to let the user to mark some text in a control and then select the Copy menu item from an Edit menu in the menubar of the application and then do a Paste in for example Excel. What makes my head spin is how to first determine which child f...

Any recommendation for a good enough Winforms GUI design?

I am developing a mid-size application with VB2008. To better test my application I am following a MVP/Supervising Controller approach. My question is: What are your recommendations to separate responsibilites? So far I've come up with a winform with an instance of a controller and with an instance of my class. The controls are updated ...

User Interface Controls for Win32

I see many user interface control libraries for .NET, but where can I get similar stuff for win32 using simply C/C++? Things like prettier buttons, dials, listviews, graphs, etc. Seems every Win32 programmers' right of passage is to end up writing his own collection. :/ Thanks, Sebastian ...

Should HTML co-exist with code?

In a web application, is it acceptable to use HTML in your code (non-scripted languages, Java, .NET)? There are two major sub questions: Should you use code to print HTML, or otherwise directly create HTML that is displayed? Should you mix code within your HTML pages? ...

What is the best WYSIWYG GUI editor for Python?

What is the best WYSIWYG GUI editor for Python? I'm looking for something like Visual Studio form designer. The specific GUI toolkit doesn't matter. And I'm not looking for a code editor/IDE. ...

What is the best multi-platform RAD language?

What is the best multi-platform RAD language for writing a desktop application? Nice GUI capability would be a bonus. Question Update: Now after 2 years from asking this question, can Adobe AIR a be a a contender or is it too limited? Answers so far: Python with PyQT Java Mono with Glade Ruby with Shoes Lua REALBasic Rebol Lazarus ...

What is the best OpenGL java binding?

I am trying to achieve better performance for my Java SWT application, and I just found out it is possible to use OpenGL in SWT. It seems there are more than one Java binding for OpenGL. Which one do you prefer? Note that I have never used OpenGL before, and that the application needs to work on Windows, Linux and Mac OS X. ...

Is there an easy way to change the behavior of a Java/Swing control when it gets focus?

For most GUI's I've used, when a control that contains text gets the focus, the entire contents of the control are selected. This means if you just start typing, you completely replace the former contents. Example: You have spin control that is initialized with the value zero. You tab to it and type "1" The value in the control is n...

How can I get Column number of the cursor in a TextBox in C#?

I've got a multiline textBox that I would like to have a label on the form displaying the current line and column position of, as Visual Studio does. I know I can get the line # with GetLineFromCharIndex, but how can I get the column # on that line? (I really want the Cursor Position on that line, not 'column', per se) ...

Good references / tips for designing rule systems?

I often need to implement some sort of rule system that is user-editable -- the requirements are generally different enough that the same system isn't directly applicable, so I frequently run into the same problem--how do I design a rule system that is maintainable properly balances expressiveness with ease of use is easily extended (i...

Change command Method for Tkinter Button in Python

I create a new Button object but did not specify the command option upon creation. Is there a way in Tkinter to change the command (onclick) function after the object has been created? ...

Best way for a Swing GUI to communicate with domain logic?

I have some domain logic implemented in a number of POJOs. I want to write a Swing user interface to allow the user to initiate and see the results of various domain actions. What's the best pattern/framework/library for communications between the UI and the domain? This boils down into: the UI being able to convert a user gesture int...

Do you use the Inductive User Interface pattern in Windows Forms?

And if you do, can you give some background information on the implementation and the reasons for implementing this pattern? The pattern is described in more detail in these articles: Microsoft Inductive User Interface Guidelines IUIs and Web-Style Navigation in Windows Forms, Part 1 & Part 2 ...

Migrating from Stingray Objective Toolkit

We have a collection of commercial MFC/C++ applications which we sell using Stingray Objective Toolkit, we have source code license and have ported it in the past to Solaris/IRIX/HP-UX/AIX using Bristol Technologies WindU (Windows API on UNIX, including MFC). Any long story short recently about 18 months ago we ported Stingray to Win64...

How do I create a custom font for a blackberry application

I want to use a specific foreign language font for a Blackberry application. How is such a font created and loaded onto the Blackberry device? For example: ਪੰਜਾਬੀ ...

Using pictures as buttons?

I talked to a friend of mine and he told me that it's possible to create an image in an image editor (gimp/photoshop) and then use it as a button . He said that's the way applications that have great GUIs do it. He also said that there is a file describing which parts of the image make up the button. Is this possible , or is he "crazy...