user-interface

More efficient way of updating UI from Service than intents?

I currently have a Service in Android that is a sample VOIP client so it listens out for SIP messages and if it recieves one it starts up an Activity screen with UI components. Then the following SIP messages determine what the Activity is to display on the screen. For example if its an incoming call it will display Answer or Reject or ...

jQuery offset combined with jQuery UI doesn't update on drag

I need to get the offset of the element that is being dragged and I use: $(function(){ $(".draggable").draggable({ stop: function(){ var offset = $("#boxone").offset(); alert(offset.left); } }); }); the element is positioned absolute and has a CSS of: left:100px; that is the value ...

JQuery UI Tabs caching

I am working in an ASP .net MVC Application. I have a JQuery UI tab whose Javascript to enable caching is as follows. function LoadStudentDetailTabs() { $('#tabStudentDetail').tabs({ cache: true, spinner: '', select: function(event, ui) { $("#gridSpinnerStudentDetailTabs h5").text("Loading Detai...

UI Automation / Retrieve File Extension / C#

Dear all, I am tasked with a project that requires me to retreieve a specific file from a folder where I can only get an X and Y on the screen. While in XP I managed to use the fact that windows explorer is in essence a list view, and used the WM_HITTEST message to obtain information about the file, in Windows 7, this is not the case. ...

How to make a 3D UI for an application ?

I'm building an application and I'd like its User Interface to be 3D, most probably a cylinder. The user would see the cylinder[Horizontally laid] and the cylinder's curved surface would have the buttons and any other controls that need to be placed. The cylinder needs to rotate and later, I'd like to add some other effects to the cylin...

jQuery UI Tabs And Dialog - How to confirm switching tabs with confirm based on the Dialog plugin?

So, the goal is to confirm switching to another UI tab using UI Dialog plugin. Using common confirm method is simple: jQuery("#tabsContainer").tabs({ select: function(event, ui) { return confirm("Some confirmation message..."); } }); but how to to achieve same behavior using Dialog modal box? I think I have to call: ...

JQuery UI drag and drop doesn't notice DOM changes happening during the dragging ?

Hi everybody, I have a html table in which each line (<tr>) represents a group of client computers. Each line can be expanded to show the clients belonging to the group. The <tr> containing the clients are always generated but hidden and showed when clicking the plus button at the beginning of each line. The clients themselves (they ar...

How to make an Advanced user interface in Android ?

i wonder how you can make an advanced Android User interface where you can add for example a drag drop and more graphics options? is that by using OpenGl ?! this is example of UI in iPhone Apps. example 1 example 2 Thanks ...

How to use Guice in Swing application

I have a Swing application that I would like to convert from spaghetti to using dependency injection with Guice. Using Guice to provide services like configuration and task queues is going great but I'm now starting on the GUI of the app and am unsure of how to proceed. The application is basically a JFrame with a bunch of tabs in a JTa...

Pattern for UI configuration

I have a Win32 C++ program that validates user input and updates the UI with status information and options. Currently it is written like this: void ShowError() { SetIcon(kError); SetMessageString("There was an error"); HideButton(kButton1); HideButton(kButton2); ShowButton(kButton3); } void ShowSuccess() { Set...

What's viewport mean to the jQuery guys?

I came here intent on asking a 'how do i' type question focused on a particular UI problem i have to solve and i started using the term 'viewport'. Seems there's lots of contexts that tag evokes. Before i outline mine i should ask - is there a generally recognized consensus as to what a 'viewport' is? Any gallery or object browser that f...

Software tools for allowing end users to reprogram interfaces

What would be the examples of commercial software products (specially web-services) which allow the end user to reprogram their user-interface? I mean end users who do not know programming and they are allowed to add more functionality. One way of doing it is allowing XML gadgets like iGoogle does. What are the other approaches and also ...

Javascript Click/Drag and Select Table rows and columns

Hi, I am wondering if anyone knows a java script library that would add a "select" type of functionality as seen in excel/google docs where you can click and select several different parts of a row and/or column. I am looking at adding this functionality to my web application. Does anyone know where of library's preferably in java sc...

Jquery Sticky Tabs

Hi Guys, I have searched through this entire site but i couldn't find what i was looking for. I am using Jquery UI tabs and i try to keep the page on the selected tabs when the page is refreshed. This is what i got: $(document).ready(function() { var cookieName = 'stickyTab'; $('#tabs').tabs({ selected: ($.cookies.get(cookieNa...

Sitecore. I want to insert color picker control intro Sheer UI App

I need to insert color picker in my sitecore Sheer UI Application. Any ideas how to do it? ...

How should 4 decimals places behave, being simple yet powerful

I have a UI question that troubled me on the best method to handle 4 decimal places for prices. In an table already cramped full of data, I would want to simplified the interface to make it not so cluttered. The actual current UI is shown below. http://i41.tinypic.com/bg5tub.jpg The problem is, for a unit price/units/D.Price and Dis.(...

What is up with Shoooes.net (Ruby UI module)

I have been looking at ways to program a UI in ruby here, on SO, and on Google. Everyone keeps saying that Shoooes is the way to go. However every link to the site and the site of the person behind it has been failing for at least a week. So what's the deal with that, where else can I go for information on Shoooes? ...

How can I change the look of SQL Server Managment Studio based on which database I'm connected to?

I'd like to modify the appearance of the query window in SQL Server Management Studio based on which database I'm currently connected to. For example, using a yellow background for production databases. Is there a way to do this? UPDATE: Is there also a way to change the default color of the query status bar at the bottom (when a serv...

Win32: Is there a replacement GDI32.dll that uses hardware acceleration?

Has anyone out there created a version of GDI32.dll that takes advantage of hardware acceleration available on the machine? gdiplus.dll? Starting with Windows Vista, GDI is no longer hardware accelerated. (GDI+ was never hardware accelerated). Without Microsoft fixing GDI (and GDI+) to be able to run well on the computer: native applica...

Can you disable multiline on Telerik RadEditor?

Is it possible to make a Telerik RadEditor single-line entry only? For example, in an ASP TextBox there is the Multiline attribute <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" /> ...