gui

How to avoid use of timer when using TThread to communicate with UI thread

I have a TThread which receives and sends to a device on a COM port. After I read the data, I want to activate the GUI (not in the same thread) using Synchronize(function name). However, when I call the GUI's form function to perform a button click, I get an access violation. I checked to see if the form's value is null and it is not, si...

How to make a GUI that works on all window mobile phones?

Hi Up to now I been using the pda emulator in visual studios 2008 (I am using windows mobile 6.1 professional sdk). So I just dragged and dropped most of my GUI components into the form. In one instance I made a panel then in this panel I dynamically generated labels in it with certain location positions. I then put it on my Hp PAQ 11...

GUI Control For Audio Presentation

I need GUI control for audio file presentation. The language is not very important but it should run on windows platform. I should be able to :- load the file play the sound put and move markers across the audio bar. it would be nice if it can load itself from RTP wireshark captures (and not wav files). An example may be seen in ...

Ribbon GUI Guidelines

I am thinking of implementing a ribbon GUI in one of my apps and of course want to adhere to the MS Guidelines so it feels like a normal ribbon, etc. But I'm trying to figure out how to solve a specific problem in dynamically changing the ribbon. I'm creating a concept game editor, please no question on why a ribbon as this is purely a ...

New item field on top of DataGridView

DataGridView in .Net has built-in support for adding new items at the bottom. Last row is treated in a special way. The IBindingSource interface supports this through AddNew/EndNew/CancelNew methods. Is it possible to change this to allow adding items in the top row of the grid instead? I know I can do sourceList.Insert(0, item) progra...

What is this thread/paint exception about?

I'm playing with things I don't really understand at the moment for a JAVA project on a Robot exploring an unknown territory (a grid of valid positions and blocked positions). Anyway, I tried to improve the basic GUI we were given as an example of how to proceed, it had been done with a text field and various unicode characters to repres...

Java JTextArea - Adding a newline

So I'm stumped. I, for some reason, seem to remember that Java does weird things when you try to add new lines to stuff... so I think that may be the problem here. This code is not working how you'd expect it to: public void displayText(KeyEvent k){ txt = inputArea.getText(); outputArea.setText(txt); if(k.getKeyCode() == 1...

is it possible to have a C/C++ GUI application in linux bare-bone server?

I am very disappointed with my school linux server when doing the homework on it. The reason is: my homework requires to make GUI application. All the tool that I have is: - ssh from my local machine to school machine - gcc/g++ in my school machine I have been thinking and tried out different solutions for a week. I still can't be ...

How to customize list field in blackberry?

i want to customize a listfield in blackberry which can able to list image and text in a row.can any one tell me how to customize and if you can provide me some code snippet ...

GUI similar to messages view for Blackberry application

Hi, I want to display messages from my application exactly in the same way as that of native messaging application of Blackberry. How do I achieve it in listfield? Also I want to add date headers that will display messages in the order in which they are received. Please help. Thanks in advance. ...

WPF Fluidkit ElementFlow, Apply ItemTemplate to individual items.

Hello, I am currently binding an ElementFlow control to an observablecollection of BitmapImages. My elementflows datatemplate is set up to decorate each item with a blue border. However, I was wondering if someone with experience in using FluidKit could advise me on how to set the ItemTemplate of individual BitmapImages based on certai...

want to make a complex c++ gui simply

Hi! I want to make a nice simple gui using c++. which have drag and drop capabilities, must be light weight. Im thinking of a gui like utorrent client gui.Its light weight and simple. please give me information about most easy to use libraries / ide /plugin (on windows platform may be good). ...

Recommendation for a 2D screen ruler

I am developing on a large monitor and would like to see, at a glance, how different parts of my application look at different screen resolutions. I'm not interested in a utility which resizes my application or windows inside my application; I'm more interested in some sort of 2D screen overlay that can be set to different dimensions,...

Iterate Over Struct; Easily Display Struct Fields And Values In a RichEdit Box

Is there an easier way to display the struct fields and their corresponding values in RichEdit control? This is what I am doing now: AnsiString s; s = IntToStr(wfc.fontColor); RichEdit1->Lines->Append(s); etc... Is there an easier way than having to individually call each one? I want to read a binary file and then display the corre...

Display simple HTML in a native BlackBerry application

I want to be able to display some simple chunks of HTML in my native BlackBerry app, NOT returned from a URL. This is similar to existing Stackoverflow questions (e.g. here and here), but I need help getting the actual BlackBerry sample code to run (or perhaps somebody to tell me why this is doomed to not work!). The BlackBerry website...

GUI for touchscreen panel

Hi Geeks, I am planning to design an embedded device which will have atom processor platform and linux OS in it. It will have an 7" touchscreen panel. In stead of going for KDE and GNOME desktops I want to design my small desktop environment for the device. Can anyone please suggest which GUI tool I should use to design a desktop from s...

A visual patch tool for Linux

I've got a file and a patch for it. I'd like to visually apply the patch, t.i. see how the changes proposed by the patch look in context, make some corrections, and save the resulting file. What tool can do that? Neither of the visual diff tools (i.e. meld, diffuse, diffmerge) do what I want: they don't work with patches, they merely m...

GUI: should a button represent the current state or the state to be achieved through clicking the button?

GUI: should a button represent the current state or the state to be achieved through clicking the button? I've seen both and it sometimes misleads the user. what do you think? ...

How do I prevent Window resizing when the Workstation is Locked then Unlocked?

We have an application that is run in multi-monitor environments. Users normally have the application dialog spread out to span multiple mointors. If the user locks the workstation, and then unlocks it, our application is told to resize. Our users find this behavior frustrating, as they then spend some time restoring the previous layo...

BlackBerry - How to draw Custom Focusable Color/Style for a focusable field?

I have custom drawn fields which are focusable. Normally the default focus color is Blue which obviously doesn't match to every theme. So can you give me efficient or non efficient ideas to change the color of the focus? Thanks ...