gui

Using DataGridViewComboBoxColumn and DataGridViewComboBoxCell

Hi, In my application i have datagrid with simple type of cells - string, integer. I want to change one of the cell from string to be combobox. i try to populate the in each line different inomration, but did not see anything. It means that i see comboBox in each cell of the column but the comboBox is empty. enter code here DataGri...

Android: GUI: Using styles for various image.

I am studying how to use styles and create theme in android. Please help to implement following. I have listview displaying fixed image and variable text. I want to change the image based on theme selection. Is it possible to do that? How? I can change background and text color using following code. Styles.xml <style name="BlueLabel...

Is anyone aware of a visual diagram that shows the composite parts of std. Windows controls?

For example: I would like to know exactly what system metrics to use to know how wide the borders of a window are going to be. With a given set of visual styles, what borders will appear, and how wide will they be (what system metrics can be queried to know exactly and correctly how wide they'll be)? Similarly, for a button, how wide a...

Showing WinForms dialog with focus from powershell script.

One of my coworkers just came to me with an interesting problem. He's displaying a WinForms form from a PowerShell script, and while the form opens successfully it does not get focus. Instead the PowerShell command window retains focus until the form is explicitly clicked. The script is being run from the PowerShell command line using ...

Can I remove items from a ComboBox without changing the index of other items?

I have a CComboBox control with several items and I need to remove some of them, but the indexes of the remaining items should be preserved. When the combo box is populated, the item data is set like so: index = mycombo.AddString(temp); mycombo.SetItemData(index, static_cast<DWORD>(count)); where count is a loop counter, and should b...

WPF Tabindexes not behaving as expected - The force is weak....

Hi All, I have a WPF window / form with various controls. I have set the tabindexes in the desired ordered but am getting strange behavior. When tabbing through the window, the order should be as follows: first text boxes on the left, then the date controls on the right, then my tab control and tab pages and then only the buttons. Bu...

weird gui component edges!

Hello, I developed my application and tested it on android emulator 1.6, 2.1 & 2.2 and on HTC Magic its running PERFECTLY and the gui components look very neat... However, when I tested it on Sony Ericsson Xperia X10 the gui components are looking fuzzy :S...please have a look ...Have anyone faced such a problem? Any suggestions to ...

C# - Updating GUI using non-main Thread

I have a program that has Classes GUI Upload and a buffer between the 2 classes - ie used to communicate between the 2 classes . The Upload class uses Process to run an command line FTP app. I want to return what output produced by the FTP app to be displayed in a textbox in the GUI. I have tried using the following code that ...

how to delete or destroy the wx.panel from its parent (another wx.panel object) ?

HI, guys I am developing a GUI with wxPython. I draw a square which represents a CD object, inside another square (also with wxPanel class), which represents CD Container Object. I want to have "delete this CD" in the right click menu of CDWindow, which will remove the CDwindow. enter code here` Basically, my code looks like this (for ...

Haskell and State

Haskell is a pure functional programming language. My question is: What are the advantages and disadvantages of using Haskell to solve problems involving lots of state, for example GUI programming or game programming? Also a secondary question: what methods are there to handle state in a functional way? Thanks in advance. ...

Overriding onDraw() for an EditText widget with a blank implementation has no effect

I am trying to create a "hidden edit view" which will give me the functionality of text editing within a 3rd party GUI on Android. I figured that the easiest way to make it not draw would be to just override onDraw() with a no-op; however it's having no effect. I've added a log statement to check that it is being called. Does anyone have...

Custom Linux GUI

Hi, I'm interested in creating a GUI for a Linux operating system. What I'm trying to do, is, a program will be the GUI -- the program will have be quite basic. I think this question will go into Embedded Linux development, but I'm not sure where to start neither the amount of tutorials or help available. Thank you for any help. ...

How are GUIs drawn?

How do people make GUIs? I mean the basic building block or principle they used to draw visual components on the screen like KDE, Gnome, etc. Are there any simple examples about how to draw something like a rectangle on the screen by directly dealing with the hardware? I am using a PC for those who are asking about my platform. ...

Window managing for rich internet applications

I need to develop a visual front end for a web app that will be based on Java code. The communication between the front end and the core app will be handled by ActiveMQ. Now, considering my experience with RIA is very limited, I was wondering if some of the RIA frameworks offers the ability to manage dynamic window creation. For example...

best way to implement a list of special UI elements ??

Hi, guys. I need an advice. What is the best way to implement in android a list of such UI elements (see the ref) A list contains a lot of such elements (about 30-40). I'm using now relative layout and 4 text fields and I think it isn't a good way... I think it's too heavy (full list will contain: 30 relative layouts and 30*5 = 150 text ...

PyQt GUI based CRUD application.

Hello, I am new to the world of PyQt.I am using PyQt designer for designing the UI and coding to provide functionality in it.But unfortunately I am getting confused to link with the UI.By importing the class we generally doing in examples.But when I try my own code its not happening. I guess I need better understanding to work with PyQt....

Where to put animation code?

Animations are a strange mix of view and control, and they sometimes need to be synchronized with delays between them, callback to code, etc. So, without being specific to any particular GUI framework, where should I put my animation code in a MVC architecture? ...

Free bitmaps for iOS custom buttons and sliders?

First, I'm not talking about icon libraries or mockup tools/libraries. I'm familiar with various icon libraries that people have created, but other than the stuff from the example code like UICatalog, I'm wondering if anyone knows of anyone who has created free libraries of custom button bitmaps (stretchable button images), slider handl...

RadioGroup with radiobuttons inside a relative android layout

I want to create a simple layout like the following: (o) Radio button A (o) Radio button B [textedit] [x] checkbox For that I've created the following layout.xml: <RadioGroup android:layout_above="@+id/RadioButton_Count" android:id="@+id/RadioGroup01" android:layout_height="wrap_content" android:layout_width="...

How do I make a pretty UITextView that expands as needed (like the one used in the SMS app)?

It should: Expand vertically whenever new lines are added with the return key. Wrap long lines and expand vertically for wrapped lines as needed too. Have a nice pretty border just like UITextField. Support placeholder text just like UITextField. Support friendly actions like UITextField. ...