gui

how to display data comming from pipe on GUI form in C #

I have made a small server and client application connected via named pipe. I am able to communicate between them in console application. Now i want that data to be displayed in text box on form. I am not able to display, once i assign the data it gets assigned but text box is not showing the new up dated value. Can any one help me to ...

Stand-alone Mercurial (or other SCM) client for user without administrator rights?

I don't have admin rights to my pc, but would like to use Mercurial (a different SCM is fine, too) to track changes. I have Mercurial installed, but can't install TortoiseHg because I don't have admin rights. Is there an alternative that doesn't require (either directly or through dependencies) admin rights? P.S. I'm looking for a stand...

Would it be a good idea or bad idea to connect a VB.NET frontend with a Python backend using sockets?

I have some really nice Python code to do what I need to do. I don't particularly like any of the Python GUI choices though. wxPython is nice, but for what I need, the speed on resizing, refreshing and dynamically adding controls just isn't there. I would like to create the GUI in VB.NET. I imagine I could use IronPython to link the two,...

How to set AUTO-SCROLLING of JTEXTAREA in Java GUI?

I have embedded a JTextArea on a JScrollPane and am using that JTextArea for output. I want that whenever the ouput goes beyond the size of the JTextArea, the JTextArea scrolls automatically so that user don't have to do manual scroll down to see the recent output. How can I do that? I have already set the autoscroll property of both ...

How to add multi-line label on a Java GUI ?

I have made a java swing GUI. Now I want to display a static message on that but the message is multi-line and the JLabel is single line. How can I display that message? Is there any property of JLabel which we can set to display the multiple line message? Will I have to use several JLabels for multiple lines? Is there any other way ...

Develop a Qt/GTK-Like Framework

I'm now with a idea to start the development of a bare bones Qt/GTK+-like framework, but I want to know some things before I start the creation of this project: What is the structure of GTK+ and Qt? Do I need to develop a window manager to build my own framework? Some resources to start? ...

UX: How to present a directory/file structure with videos?

What would be a good user experience to present this? I have: A folder/directory structure containing mostly media files that need to be presented in a Silverlight app. Future versions may be expanded to allow some non-media files to be presented as well. The typical use case (that I'm tailoring the solution for) is video. The videos (...

Program both as Console and GUI

Is it possible to (and if so, how do I) make a single program work both as a console application and a GUI version using Delphi 2007? What I am after is that if the program is run with the appropriate command-line options, it should function as a console program, printing output to the console using WRITELN, but if no command line argum...

what shall i use VB.net or C# for desktop application

Hello all im coming from unix / server / c++ /java background with no GUI experience i need to build windows GUI application , i need to build it fast i was told that the .net family is the exact thing for such job . but there is VB.net and c# what should i choose what is faster and better for such job ? what will be easier for none...

Can panels communicate with each other?

I'm trying to call a method from a panel class, however it does not result in anything. Can panels communicate with each other? Or is there another reason why this isn't working? Calling the method name() in the leftInput class. ButtonPanel class. import model.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; publi...

How to allow scaling with uniform aspect ratio in (Py)Qt?

If you have a QImage wrapped inside a QLabel, is it possible to scale it up or down when you resize the window and maintain the aspect ratio (so the image doesn't become distorted)? I figured out that it can scale using setScaledContents(), and you can set a minimum and maximum size, but the image still loses its aspect. It would be gr...

How to implement a Google-chrome-like title bar for Java SWT application

I have inherited development of a Java/SWT application running on Windows only. One of the feature requests that I need to scope is a Google-chrome-type title bar in place of the SWT windows title bar. The application's tabs appear at the same level as the window control buttons. My understanding is that I will need to: write a Win...

MATLAB functions refusing to function depending on placement

I've written a very simple GUI in MATLAB that will convert temperatures. It is meant to serve as a tutorial for a class of students. A strange thing has happened though. As with any MVC design pattern, there is a model object, a view object and a controller function. In order to set the output field of the GUI (the converted temperat...

GUI API for directX?

Is there any GUI API that can be used together with DirectX other than MFC, WIN32, Winforms and WPF? ...

Can PHP be used to control a GUI application?

Suppose I have a GUI-only application that runs on Windows and I'd like to create a web interface for it using PHP. Is it even possible? I know I can use functions like system() or exec() to launch programs, but can I have more control over a running GUI app? Primarily, I would like to be able to send it keystrokes, so I can use it to pr...

Blackberry - how to add fields to listfield?

I am using ListField but encouter a problem. How can i view it as i wish (not one by one)? For instance, there is item1, item2, item3. Can i jump from item1 to item3 directly, ignoring item2? In another way, how to insert a text field (a labelfield, for example) into the ListField items? like this: item1 a textlabel item2 item3 ...

Standard notifications or alert styles in Symbian (Qt/S60)?

I'm building a an application using Qt on the Symbian/S60 platform and I was wondering if there was a standard notification window that I could use to pass messages to users. Using other platforms as examples, I'm looking for something equivalent to Javascript's alert() method or Cocoa's NSRunAlert* methods. If there is not a native Sy...

Is it acceptable to normalize text box content when it loses focus?

I have received requirements that ask to normalize text box content when the user changes the focus to another control on the same data input form. Example normalizations: whitespace at the start and end of the input is trimmed If the text box was made empty and this is not valid, replace the content of the text box with the default va...

Open File Dialog Box

Hello, I'm learning Objective-C and trying to develop a simple zipper application, but I stopped when now, when I need to insert a button at my dialog and this button opens a Open File Dialog that will select a file to compress, but I never used a Open File Dialog, then how I can open it and store the user selected file in a char*? Than...

Windows Mobile Custom Textbox

I'm trying to replicate the input box shown in the image on windows mobile 5+ but i'm struggling for ideas! So far the only things I have come up with (I haven't managed to make either work) were to either; inherit TextBox and paint the textbox background manually by overriding OnPaint/OnPaintBackground make the textbox backg...