Click here to Skip to main content
15,892,253 members
Everything / UI

UI

UI

Great Reads

by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
by J.Starkl
A windows-service which can handle different operations in separate threads and which can be controlled by a small GUI program
by Cristian Moldovan
jQuery unobtrusive validation plugin with Twitter Bootstrap 3 showing error messages as tooltips
by gggustafson
This article introduces the reader to the steps taken to create a user control that displays a circular indeterminate progress control.

Latest Articles

by Mark Pelf
Tutorial on “Events Bubbling” in JavaScript language
by Nick Polyak
This article introduces Avalonia as a new multiplatform XAML/C# solution for Web and Mobile development platform on top of its Desktop capabilities that had been available for a while.
by honey the codewitch
Combine some great technologies for rich, responsive IoT user interfaces on the ESP32
by honey the codewitch
How to make very responsive, flicker free interactive screens without using a lot of memory

All Articles

Sort by Title

UI 

6 Jun 2013 by Maximilien
The bad behaviour was caused by a not-yet fully understood modification in another CDockablePane that messed up the focus; it causes the button to loose the focus and I did not visually see that when I thought I clicked on the button, I was putting the focus back to it; and if I was lucky enough...
30 Nov 2019 by Johannes Bildstein
Write cross platform desktop applications with .Net Core by using the OS native webview.
25 Jun 2020 by Adrian Pirvu
Basic principles in designing User Interface (UI / UX)
19 Jul 2015 by Revanth Ramesh
Futuristic Talking 7-Segment Time Display Widget in WPF
10 Apr 2018 by Member 13770638
In fact my coursework requires me to create a simple sudoku game using Qt creator but the learning curve is killing me. I am thankful for what others have created for our ease of use but often times I would rather prefer to understand low level stuff first (perhaps down to transistor level) like...
10 Apr 2018 by KarstenK
Qt isnt so hard to learn, so read some of the Qt tutorials. When you Google you may finde some sodoku examples.
10 Apr 2018 by CPallini
Since Qt is required, you have to, at least, use it in your application. Modify an existing example in order to fit your needs and don't bother to really understand it. If you ar really interested on what there is under the hood, then have a look at Walkthrough: Creating Windows Desktop...
3 Mar 2017 by wim4you
Launch additionally a limited number of hand picked Programs, Documents or Folders from the taskbar
18 Jan 2013 by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
19 Jun 2012 by A. Ganzer
Validation of input made as easy as possible for Windows.Forms, WPF, console-applications or any other purposes
4 Apr 2013 by Michael Mann (mann.DEV)
Plugin migration with new features of .NET 3.5.
25 Apr 2013 by xuyunhai
when i use TogglePattern.Toggle() method to select the treeItem,it will be selected,but a few seconds later,the treeItem state become not selected.how can i solve this question.can anybody give me an answer? thanks! TogglePattern togPattern =...
30 Jan 2012 by Dirk Bahle
UI and code-behind is executed in different threads. Long running processes need asynchronous execution. This artice shows a way of doing this in a ViewModel approach.
18 Jun 2011 by Amit Kumar Dutta
Discusses a technique to record current geographic location from mobile and display in web pages (with Location History Browsing)
16 Nov 2010 by Mario Majčica
A simple Flickr application using the Flickr.Net API library and some cool effects.
30 May 2012 by Murray Brooks Davis
How to make a simple, end-to-end, mobile, Java enterprise application including a RESTful web service and an Android client.
19 Nov 2012 by Raghav Nayak
28 Jan 2013 by Agent__007
A simple WPF text clock gadget for Windows
25 Jul 2014 by JamesHurst
Walks through the creation of an on-screen virtual keyboard for entering non-ASCII chars
16 Dec 2014 by Steffen Ploetz
JavaScript plugin gaugeSVG to generate widely configurable SVG gauge for a web dashboard
7 Oct 2012 by Andriks
A MessageBox replacement with some much needed extras
9 Jun 2010 by Sweety Khan
I made a button named Brightness on my main dialogue box. When any one click on it, it should display another dialogue box named Brightness.For this, I right click on my project in the solution explorer->add->resourceFrom the Add Resource dialog box, double-click on Dialog Change its ID...
26 Apr 2010 by AJ83
Hi, I have developed a GUI application in MFC. When application is downloading something and I minimize the GUI followed by maximizing it (after few seconds) then all controls in FormView becomes invactive.What may be the source of such problem?Any Help!!
28 Feb 2011 by Fredrik Bornander
Creating a command that can handle warnings and adapt to the way the user uses the UI.
12 Oct 2012 by user_code
Hello,I develop a c# user control.In that control, I have a button. When the user clicks the button at runtime, a new control (for example, pictureBox) is created ,next to the previous pictureBox.How can I do it? especially when I don't know how many pictureBoxes the user is going to...
12 Oct 2012 by OriginalGriff
Try:PictureBox pb = new PictureBox();pb.Location = new Point(oldPb.X, oldPb.Y + 100);pb.Size = oldPb.Size;Controls.Add(pb);
14 Oct 2012 by user_code
Hello,1)I develop a c# user control.In that control, I have a button. When the user clicks the button at runtime, a new control (for example, pictureBox) is created ,next to the previous pictureBox.I did it that way:PictureBox pb = new PictureBox();pb.Location = new...
14 Oct 2012 by OriginalGriff
Add a List to you UserControl:private List Pictures = new List();Then when you add it to the controls list, you also add it to the Pictures:PictureBox pb = new PictureBox();pb.Location = new Point(oldPb.X, oldPb.Y + 100);pb.Size =...
29 Oct 2012 by Sharath2790
I've downloaded DirectX on My PC and I've installed it But unable add reference to my project. I need to embed a video into my application. Thank you!
30 Oct 2012 by ridoy
You not mentioned what type of application you need to embed it,here's some for you..http://www.dotnetspider.com/resources/42801-How-Play-Videos-C-NET-WinForm.aspx[^]http://www.dreamincode.net/forums/topic/111181-adding-video-to-an-application/[^]
30 Oct 2012 by Thomas Daniels
You don't need to use DirectX. You can add a Windows Media Player control[^].If you do that, you don't need to add a reference to the DirectX library.
1 Nov 2012 by Sharath2790
http://www.dreamincode.net/forums/topic/111181-adding-video-to-an-application/[^]
12 Jun 2019 by Michael Haephrati
A simple and easy to use InputBox() function for any type of C++ program for Windows
19 Dec 2012 by Kieran Crown
Okay, I want to add multiple user controls into a flow panel at one time without the UI freezing, I've tried adding the controls from a Background Worker but get an error about how it cannot be added because it can't change parent control or something like that, any help would be appreciated.
19 Dec 2012 by Adam R Harris
You are going to have to create a delegate to add the controls for you, something like this:** assuming your flow control is called 'flow' private delegate sub delAddControl(ctrl as Control) private sub AddControl(ctrl as Control) if (flow.InvokeRequired) then ...
28 May 2010 by Hellraiser123
Hi, I need to create a combo box which provides the auto search feature to a user. Its should behave just like the combo box which we see in the Windows 'Run' dialog or in the windows search dialog. So, as the user types in characters , all the matching strings in the combo box list must be...
15 Jan 2013 by Tharaka MTR
This tip describes how to add the dynamic style to ASP.NET page header
11 Oct 2013 by ASP.NET Community
ASP.NET AJAX can be easily extended to create almost any control you can imagine. Be sure to take a look at the ASP.NET AJAX Control Toolkit.Blog
26 May 2010 by josip cagalj
Hi, does anyone know how to right align panel elements. I have one CMFCRibbonCombobox and two CMFCRibbonEditboxes each with same width but preceding labels have different text length so they arr messy. I would like all to be right justified.Thanks in advance.
31 May 2010 by josip cagalj
CRibbonBarPane...
28 May 2013 by Giorgio Minardi
How to create an MVC HTML Helper and package it for Nuget.
16 Oct 2012 by Igor Kushnarev
How 3D carousel could be implemented for Android platform
1 Apr 2011 by xandytsui
An Introduction to a new Android-java based MVVM Presentation Framework
25 Nov 2012 by ranjith sankar
I saw the calendar application on my google phone. on that app when we click on a particular date the events on that date will appear. and on flip on the screen the events of next date will come. we can flip as many times, sothat the dates and events changes how that particular function...
25 Nov 2012 by Richard MacCutchan
This is not a valid question for a Quick Answers forum. You need to learn how to create Android apps, and then design something that will hold the information your wish to display. This could be a local database, or you could use the Google API to get access to your Google calendar.In both...
24 Mar 2014 by Kevin Murani
Android sliding menu.
20 Feb 2013 by Gregory Shpitalnik
Android: Ready to use simple directory chooser dialog with new folders creation ability - single Java class implementation.
20 May 2013 by akki166786
I have 3 questions1. can i use angular JS with kendo wrappaers? if yes how?2. if i am using angular js and kendo-all.min.js on the same html tag let say i am making an intut tag autocomplete and also binding it with ng-model, how does it affect each others behaviour ?3. what actually...
16 Mar 2012 by PravinSingh
Is there any tool to check if UI controls on a desktop app or a web app are properly aligned, the distance between them is consistent and the controls are following UI standards?Because if there isn't any already, I am planning to write one. :)
16 Mar 2012 by Sergey Alexandrovich Kryukov
I don't know if such tool is available. I would not be surprised if there are no such tool, and I know why: it would be useless. I can guess where it comes from: you probably develop UI manually, it means by some sort of graphical designer, and you use absolute positioning. In other words, you...
8 Nov 2010 by Radhakrishnan G.
HiUsually appearance of the menu and toolbars created using .NET are different from native windows look, Making rendering mode to System does not make any differenceAlso how to use a rebar as created using a Visual C++ applicationI mean the appearance(Visual Style same as the OS...
18 Oct 2014 by Marco Bertschi
A short guide on how you can style and customize the appearance of you QML controls in a CSS-like way
22 Jun 2011 by johnberry_berry
I have a requirement that the User be able to design his own UI (user has a set of Controls available and the user can select a control and start adding the controls to the page.Now I need a mechanism where I can show what control the user added to begin with and start adding the controls...
22 Jun 2011 by Pete O'Hanlon
While it would be fairly tricky to do, you could (using a liberal dose of jQuery), drag and drop the "controls" from a toolbar and capture the co-ordinates that you added them at. To get an idea of how to do this, why not take a look at the jQuery UI[^] to get an idea of how you could do this...
3 May 2012 by Code Master38
I'm new to webs design and recently I've decided to work on a website for charity.My question is this, how can I design a attractive GUI, something like from www.Webs.com[^]or www.CodeMaster2.webs.com just for an example. Something nice and simple and attractive.If you could point me...
3 May 2012 by R. Giskard Reventlov
You could start here[^]. There are a large number of sites offering free web templates that you can use. One, in particular, that I like is: andreasvikland[^]. I've used his designs in the past for small sites. Easy to use and adapt.You might also find that if you are designing for charity...
30 Jan 2012 by Anoop Pillai
Demonstrates how to use ASP.NET MVC, SignalR, EF and Knockout Js to build real time syncing UIs
9 Apr 2014 by Roberto Ferraris
How to use templates in ASP.NET MVC to edit enum fields
4 Feb 2011 by Ramu Sangabathula Original
When the user modifies ASP.NET web form fields and leaves the web form without saving it, we should notify the user about the modified data.
14 Jul 2020 by honey the codewitch
Continuing our series with a knob control and a MIDI visualizer
12 Nov 2013 by John Pravin
Asynchronous Programming with Task Parallel Library.
7 Jul 2014 by Eduardo Antonio Cecilio Fernandes
How to handle asynchronous tasks in Android Activities
31 Oct 2018 by Adam Zgagacz
Simple WinForms auto-repeat button in a few lines
1 Jan 2011 by Ashish Kaila
Learn how to leverage UI automation in testing your UI and also to support accessibility features
1 Jul 2010 by Guia-Project
Unit-Testing of WPF User Controls via UI automation
22 Jun 2010 by old_hacker
Though an ancient programmer, I'm still fairly inexperienced in MFC and Windows programming in general. I'm trying to add automatic scrolling during dragging. CScrollView windows have this feature, but I want to be able to add it to any old window with built-in scrollbars (using WS_VSCROLL...
22 Jul 2010 by E.F. Nijboer
Could you add an OnMouseOver event to the window you drag into? You would set a property to indicate that dragging into the window has started in the OnDragEnter and reset this property in the OnDragDrop and OnDragAbort.In the mouse over event you could now check the property that indicates...
29 Jul 2010 by E.F. Nijboer
The GetScrollBarInfo api will get you information about a scrollbar, you can just pass it the handle of the window control that holds the scrollbar:http://msdn.microsoft.com/en-us/library/bb787581%28VS.85%29.aspx[^] It returns this struct:...
11 Jul 2013 by Amit_Mittal
A way to achieve automatic scrolling during a drag operation
24 Jul 2016 by vishal singh vicky
I Have an add automation event that raised on new windows open from that windows i get the localized control type dialogue then i used it in my function so the problem is that it raised multiple time when ever dialogue is open and also it does not raised some time for open and save as dialogue...
19 Feb 2016 by Anand Naikar
We are automating an "Winforms" application.When we try to fetch the AutomationElement's IsEnabledProperty value, we always get false.We tried for both Enabled and Disabled context menu items. For both the types we get false.As per MSDN link "AutomationElement.IsEnabledProperty Field...
2 Mar 2018 by Ramachandran P
Hi, In my application, I have used the backgroundworker thread for some background process. The thread called successfully and the Dowork event done all of his work. But, after completion of the Dowork event the RunWorkerCompleted event not getting fired. Any suggestion on this it would be...
1 Mar 2018 by OriginalGriff
You don't actually start the second thread at all. Most likely, that's because you have over redacted the code - but if the DoWork event is being called (and you say it works) then you need to look very closely at the code you have in the DoWork event handler. The Completed event will only ever...
2 Mar 2018 by Richard Deeming
Based on the code from the comments to solution #1: InspectorWrapperThread.cs: while (!worker.canCompleteThread) { if (worker.canCompleteThread) { break; } Thread.Sleep(10); } WorkerThread2.cs: public bool canCompleteThread = false; ... void...
19 Jul 2013 by indhukanth
Hi all,im done some database coding in UI Thread. but its freezing my UI so i changed that into Background worker thread like_MyWoker = new BackgroundWorker();_MyWoker.DoWork += new DoWorkEventHandler(_MyWoker_DoWork);_MyWoker.RunWorkerCompleted += new...
19 Jul 2013 by OriginalGriff
You can only access UI controls from the UI thread - the main thread. If you try from any other thread, you will get the exception you have seen.There are two ways to get round it:1) Use Control.Invoke to move the action back to the UI thread.2) Do the control update in the...
19 Jul 2013 by Sergey Alexandrovich Kryukov
Certain cross-threads calls are not allowed, by a number of reasons. You can easily delegate some methods to UI thread. This way, you can create an object in UI thread, and call all its methods in UI thread, but the calls are triggered in some other thread. This is the case when you call...
4 Aug 2010 by Srivatsa Haridas
Simple steps to a Multithreaded application
22 Feb 2021 by lukeer
Hi forum, a colleague of mine has created a marvellous piece of HTML and CSS that leaves me astonished what UIs are possible with web programming skills. I am responsible for the backend in python. I have a connection to a real-world...
5 May 2014 by Gerald Gomes
This article will make an attempt to describe a basic way to start implementing animation in WPF.
2 Sep 2010 by dmihailescu
What is the start-up and system performance overhead for .Net, Mono, Java versus C++ and Forms, WPF, Swing versus MFC
1 May 2015 by Intel
This article covers design considerations for tablet apps, including UI design, session length, accommodating user differences, and localization.
27 Oct 2015 by Intel
The goal of the series is to enable you to design a successful user interface experience into your project from the start.
14 May 2010 by 23_444
I need to invalidate different areas on a screen at the same time (occurring in the same function).I could invoke the InvalidateRect(&rc) for each area:InvalidateRect(&rc);InvalidateRect(&rc2);or I could create a region and add the rectangles to the region and then use...
15 May 2010 by Richard MacCutchan
23_444 wrote:I'm not convinced ... that WM_PAINT is firing for each call.You are correct, these calls tend to get collected together and then the app gets a single WM_PAINT message for an accumulation of more than one of the invalidated regions. As to the advantages of doing it this way,...
24 Jun 2013 by Goel Himanshu
I am facing a weird problem in my Telerik grid controls. When i tab out from a control like Telerik Textbox it gets focus on checkbox internally means if i press space-bar it does check and uncheck but it don't show dotted border around it. This is the same issue with link button also. On...
1 Jul 2013 by Goel Himanshu
This problem has been resolved after using position style to absolute for every link and checkbox for this grid. After setting this property borders for focus are working fine. On this page there are many telerik grids. but it was giving problem for this specific grid where i used zindex. This...
8 Jun 2010 by Itsuki Kuo
I want to know, how to put a border on a window (such as Kaspersky Sandbox) have? Does anyone know how to get this effect?I can draw and show window in XP. But Vista and Win7 have the Aero effect.So, how can I show the same effects when I use Windows 7?Thank you very much.
10 Jun 2010 by alij_juma
Hello,Try setting your form border style to none and use a container that has a border you can manipulate e.g. panel. Dock the container to fill the window 'borderless' window.Add your controls including a close, min and max button and code them appropriately.You should have your...
31 May 2013 by Stas Wolski
This tutorial describes how to create a basic Google-like event calendar app for Windows 8.
18 Apr 2013 by Stuart Wheelwright
Step-by-step explanation of building a Task Timer app using web technologies, including HTML5, CSS3, JavaScript and jQuery Mobile.
21 Nov 2020 by OriginalGriff
You should talk to the people who created it - Bill has given you their email - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!
28 Sep 2016 by user_code
Hello,I would like to create a button (with an image on it) in c# User Control. When a user hovers with the mouse over the button, and stays there for a second, I would like a small message\dialog\something like this to pop up and describe in 2 words what the button is. (For example, it will...
22 Oct 2012 by sinhasourabh
Use TOOL TIP Property of the button.
22 Oct 2012 by Abhishek Pant
1. Add image to BackgroundImage property of button.2. Add a tooltip to the button.3. Find the property 'ToolTip on toolTip1' (the name may not be toolTip1 if you changed it's default name).Now write "Edit"(as according to your requirement or anything you write will be popped out) on the...
28 Sep 2016 by Daniel L. Garcia
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms; namespace WindowsFormsApplication{ public partial class Form1 : Form { public...
22 Oct 2012 by User 9125307
I think this would be the perfect solution for you:private void ButtonName_MouseHover(object sender, EventArgs e) { System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip(); ToolTip1.SetToolTip(this.button1, this.button1.Text); ...