gui

Can MacOSX group multiple NSApplications so they look like one?

I'm trying to split my application into different sub processes, each one doing a very specific thing. Main reason is stability and better memory utilization because i use a conservative garbage collector (boehm-weisser). I don't want to do it one huge process that does it all. Unfortunately the subprocesses must display some windows ...

How do I implement web part functionality in WPF?

I'm working on a WPF application that works with several different types of data, and I'd like to implement the UI in a manner similar to SharePoint's implementation of web parts, or perhaps something like Google's gadgets. Is there a pattern or set of controls I can purchase that will help me implement this? Any pointers/suggestions/we...

What are some basic tenets of interface design?

I am putting together some mock-ups of my first real interface and I am left wondering: What are some basic tenets of good user interface design? I am looking for something like a bullet list summary and maybe some resources that might be useful for each tenet. ...

How can I keep my WPF UI responsive while communicating with server on an other thread?

I have a wcf client that before doing some complicated interactions with the wcf service does a simple check for the service to be alive. As the time-out for a failed connection is one minute, I want to implement this check asynchronously. This is what I have: //Method on the main UI thread public void DoSomeComplicatedInteraction() { ...

Custom QStyledItemDelegate: adding bold items

So here's the story: I have a QListview that uses a QSqlQueryModel to fill it up. Because some items should display in bold based on the value of a hidden column of the model, I decided to make my own custom delegate. I'm using PyQT 4.5.4 and thus inheriting from QStyledItemDelegate is the way to go according to the docs. I got it worki...

Blackberry Java: TextField *without* the caret?

I want a non-editable TextField (or a subclass) that doesn't even have the caret displayed. Alternatively, I want a multiline LabelField. Is any of these possible? ...

How To Present A Large List Of Items For User To Choose One?

I am building a Silverlight application where one of the tasks will involve the user selecting one item from a list of approximately 1300 items. What would be some of the best ways to present this list to the user? I think 1300 items in a ComboBox is too many. Is it? What are the best practices for this kind of situation? The items are i...

Search and replace: What's the proper shortcut?

Very simple dilemma. A user needs to be able to do a search-and-replace in a large piece of text. Code to do this is a piece of cake. No problems there. Works like a charm! Don't break your head over that. That's solved! It's a non-issue... No, problem is defining a good shortcut for this function. While I would prefer to use CTRL+R as ...

Great idea for embedded development

Hello stackers. For my university I (and three others), are searching for a project that utilizes at least one embedded device, web services or other web technology, and a Graphical User Interface. Currently we are looking at developing a unified remote, that is an extendable application on a cell phone through which you can control y...

Run Shoes clone in IronRuby

I found cool article on Creating cross platform GUI's with IronRuby where someone re-created the Shoes DSL by _why the lucky stiff in IronRuby. Awesome right! So, I downloaded the IronRuby binaries and the code from the article and ran the following command: c:\IronRuby\bin\ir hello_world.rb But I get the following error: :0:in ...

Creating custom layouts in BlackBerry

I want to create a RichTextField at the bottom half of the screen, while I paint my own custom graphics at the top half of the screen. Is that possible in BlackBerry? It tried defining a LayoutManager and trying to position the RichTextField at the bottom of the screen but the RichTextField, scroll through the entire screen. This is the ...

BlackBerry - draw image on the screen

How to draw png images with specific size and position on the screen? ...

Setting background and font colors for RichTextField, TextField

How do we set the background and font colors in a RichTextField? I tried to override the paint() method in addition to what has been described here, but when I scroll down in, the background gets erased or reset to a white background ...

windows programming without a OOP language

Which language ( that is not oop ) should I consider using for writing gui windows apps ? I guess the obvious answers are visual basic and C , but am wondering if I should look into anything else am not saying OOP sucks or anything. I just don't.. not using it. The END ty Edit: I just want a language that has a non oop paradigm opti...

Drawing outside of column area in listview column header

Is it possible to ownerdraw the entire column header section of a listview? (including the region to the right of the column headers)? ListView is in Details View. An answer here indicates that the remaining space can be drawn along with the last column header: http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.windows...

Default font for Swing text

Does the text in Swing components have a default font? In particular, what about tab labels on JTabbedPanes? I'm working on a mock-up of a GUI made with Swing and want it to blend it with a screen image I grabbed of a Swing app. ...

Masked TextBox Input Align Left

I have a masked textbox on my winforms application where if a user clicks inside of the masked textbox, the cursor will start out in that location. For example, if they click in the middle of the masked textbox there will be a blinking cursor in the middle. How can I get the cursor behavior to be such that it will default at the left-mos...

Why doesn't OS X have the same flickering problems that Windows does?

I was reading Larry Osterman's latest blog post about debugging a flickering problem in the Windows Vista/7 volume control, and I suddenly realized that I can't recall ever seeing an application flicker on my OS X laptop. Even applications that otherwise seem to be poorly written avoid the flicker problem in my experience. Without this...

Is there a lightweight SQL gui that allows exploring databases and running SQL?

SQL Express is installed on the machines that I'm going to, but I'm not going to install the clunky SQL Management Studio. I just want an EXE I can run, so preferably I'd like it to be install-less. Current options are: 1) Write one myself - not too hard, but I thought I'd check here first 2) Use the command line Requirements: 1) Bro...

Java tool tip not displaying.

The program I am writing has a Swing GUI and several of the components have Tooltips. These are all on JButton, JCheckBox and JRadioButton components, they are set using the setToolTipText method and all work perfectly. I have just tried to add one to a custom component that extends JPanel using the same method and no tool tip appears. T...