Click here to Skip to main content
15,892,059 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 Updated

UI 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
29 Apr 2010 by #realJSOP
My experience is that users don't like it when controls (or menu items) appear and disappear while they're using the program. At the very most, they are just barely comfortable with items being disabled, but when things start disappearing/reappearing, they freak out. I'd rethink my interface if...
13 May 2010 by #realJSOP
Because Intellisense is VC6 sometimes doesn't work. That's the best I can tell you.
15 May 2010 by #realJSOP
I googled "c# winform listview drag and drop" and got 42000 hits. Maybe your answer is in there (and will probably include source code).
2 Jun 2010 by #realJSOP
First, you need a handle to the target application's main window. This is much easier to achieve if your application launches the target application interally (using the Process object). After you get the window handle, you can send the window any Windows message that you wish.BTW, if...
19 Jun 2010 by #realJSOP
Here's what you do (this is a three-year old memory, so you may have to tweak it).0) Put a GroupBox control on your form.1) Put the radio buttons inside the groupbox.2) Set the tab order, starting with the radio buttons, and finishing with the groupnbox.3) Set the first radio...
16 Jun 2011 by #realJSOP
A service can't have a UI. You have to do like SA said - create a separate app (that lives in the system tray) that can communicate with and control the service.
22 Nov 2011 by #realJSOP
Something like this:MyControl control = new MyControl();this.rootGrid.Children.Add(control);
2 Jul 2012 by #realJSOP
I'm developing something akin to an ad-hoc query interface, and in this UI, the user is allowed to select AND or OR to add more conditions to the query.What would you call this column? I'm using "Continuation", but I'm interested in finding a better 9and possibly shorter) word to use in its...
11 Jun 2010 by 0817H
hi,please make sure you have understanded the usage of LoadBitmap() function: The LoadBitmap function loads the specified bitmap resource from a module's executable file.it CAN NOT load a bitmap from files.u can use LoadImage() instead of LoadBitmap() to loading a bitmap resource from a...
25 Nov 2016 by 23741
You can try this (js instead of their mvc helper):and in your js:$("#tabstrip").kendoTabStrip( {animation : false, select: onSelect });or if you also want to turn off the arrow keys to navigate the tabs:$("#tabstrip").kendoTabStrip( {animation :...
5 May 2010 by 23_444
I'm having trouble with the max position of a horizontal scrollbar. I'm creating a grid and need to set the .page and .max parameters dynamicallybecause user could resize the columns (each column can be resized). And I also don't want scrollbars to show up if scrolling is not...
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...
21 May 2010 by @Intersect☺™
I request you to put a piece a code, so that it could be visualized. As per my understanding, if it is only a matter of displaying modal dialog, then, GDI leak wouldn't happen. I guess it is somthing else rather.
15 May 2010 by _T("No name")
Hi,I have made a custom combobox by overriding its DrawItem() function. I also use WM_CTLCOLORLISTBOX and getting hWnd to listbox in lParam and settting it my listbox. ListBox drawing is done in DrawItem().Now the problem is when there are many items in the listbox and a scrollbar is...
19 Jun 2012 by A. Ganzer
Validation of input made as easy as possible for Windows.Forms, WPF, console-applications or any other purposes
13 Nov 2010 by a_pess
Alternative For VB.NET Windows Forms Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean) Me.ControlEnabled(ctrl, isDisable, True) End Sub Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean, ByVal allowRecurse As...
28 Jun 2014 by Abdallah Al-Dalleh
Hello allI developed a simple website using the template provided by ASP.NET Website and ASP.NET Web application projects, but I'm not that good designer :D, Is there any resources for ready made UI designs ? Preferably master page for a business internal website for a company ?
7 Oct 2015 by Abdul Rehman
hi fellows,my question is quite generic in nature I am looking for the way to create a common control that I want to use in MFC, Winforms and WPF application I need something like a pop down menu to show some options.I look for global hook using win32 that allow place control on top of other...
9 May 2013 by Abhay@Accenture
11 May 2010 by AbhiHcl
Hi,I have to create a round rect button with three images, one for left round shape one for middle portion of button and one for right side round shape. I just wanted to know how to add these round images on the button. So that button has a round shape. Here is my code in which I am able to...
1 Oct 2010 by Abhinav S
Cross thread communication is indeed possible.Have a look here[^] and here[^].
2 Jan 2011 by Abhinav S
You can always create new tabs if you want to avoid MDI forms.Just as an example, Internet Explorer or other browsers support multiple tabs and many tabs can be opened together.Note: Having tabs and MDI's together might be a little confusing to the user anyway.
19 May 2014 by Abhinav S
Here are some links -Searchable WPF TreeView[^]A simple TreeView example[^]Using the WPF Tree View with Multiple Levels[^]
9 Jan 2017 by Abhishek Kumar (here to help!!)
Hi, I have a main window (WPF) and a frame in it. A page control is opened in the frame area. Within the page control, I have TabList control. The Fist tab (tab1) has a WebBrowser Control which host some Html content.While writing Coded UI Test, I'm able to locate (tab1) control but...
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...
29 Jan 2011 by Abhishek Sur
You should remember, a Window in WPF control is composed of GDI portion (which includes the Title bar, outer boundary etc) and the WPF portion in the middle.If you are dealing with Ribbon control, generally you need to disable the Title bar and recreate the title of your own. something...
29 Jan 2011 by Abhishek Sur
Of course, you can put an Usercontrol anywhere in the Grid. Say you want to place the Grid at Row 1, Column 1, on SelectionChanged of Tree node, use :yourGrd.Children.Add(yourusercontrol);Grid.SetRow(yourusercontrol, 1);Grid.SetColumn(yourusercontrol, 1);This will work. Your...
15 Sep 2012 by Adam David Hill
There are a few approaches you could take to that sort of thing. Controls have both a Visibility property and an Opacity property. Visibility can be set to Visible or Collapsed (or even Hidden) and opacity is a gradual scale of how much you can see it. For fully transparent I'd suggest using the...
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 ...
31 Oct 2018 by Adam Zgagacz
Simple WinForms auto-repeat button in a few lines
12 Dec 2014 by Addison Cohen
App animations with UIKit Dynamics
7 Sep 2010 by Adi Saxena
Beginner level guide (step by step) on UI Automation Testing in iOS 4
12 Apr 2015 by Aditya_Goud
HI , I am developing a windows phone application, i have done with it, but when it is used in another windows mobile the controls present are in fixed length of my developing mobile ,Hence i need to know how to make a control place automatically to its device width or height. Any kind of...
16 Jun 2015 by Aditya_Goud
Hi ,I am developing a windows phone application, where i need to use a slide menu .. but it couldn't be possible so i am using the application bar .. I need 3 options under an app bar ICON only but not as an app bar menu ItemsBriefly:when i click an Abb bar ICON, 3 options(options...
25 Jun 2020 by Adrian Pirvu
Basic principles in designing User Interface (UI / UX)
1 Oct 2010 by After2050
This article demonstrates how to create public and private members in JavaScript through a sample.
26 Sep 2010 by After2050
This article demonstrates the steps in creating a simple jQuery plug-in with a sample called Map Scroller.
31 Oct 2010 by After2050
This article demonstrates how to use images in web and the things you have to take care on using them.
28 Jan 2013 by Agent__007
A simple WPF text clock gadget for Windows
9 Aug 2014 by Ahmed Alaa El-Din
Help Beginners to move their 1st step into developing their android application
19 Feb 2023 by ahmed_sa
I work as dot net web developer , I face issue to enhance my design controls and alignment and make good design, so What advice can you give me to enhance and solve this issue . i take too much time to alignment controls and give good design...
28 Apr 2010 by AJ83
Hello!!!, How to get a message "2 out of 5" has been completed while using progress bar?
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!!
9 Nov 2013 by ajitkmr09
Hi,I have multiple web control on my web page.All of them are within panel now i want when user control 1st click then 1 panel enable and other disable and same for all.How to do it.Step by step
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...
7 Dec 2011 by Akos Orban
A TextBox for numbers with built-in mathematical expression evaluation
3 Jul 2011 by Albert Holguin
Check to see if there's any errors being returned from the Create() method when you try to create the dialog. There may also be an issue with creating a modeless dialog on a thread that just ends right after creating the dialog.
23 Oct 2015 by Alcamech
Try implementing a .OnScrollListeneror make it respond to touch so that when you begin scrolling the text "Scoller" appears myLayout.setOnTouchListener( new RelativeLayout.OnTouchListener() { public boolean onTouch(View v, MotionEvent m) { // Perform tasks...
6 Jul 2017 by Alexander Sharykin
No more Template copies
10 Feb 2012 by alexy.shelest
This project is a real-time multi-threaded trading application framework developed with WPF / MVVM
8 Jun 2010 by alij_juma
Hello,I have an unbound datagridview with lots of rows on a page; what I would like to do is filter the rows that meet a certain criteria so that I have less scrolling to do. my current thinking is passing a parameterized query to the database (with the parameter being the filter),...
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...
16 Jun 2011 by All Time Programming
Hello, I have a backgrounworker thread that calls a method (Connect()). When that process is completed it comes to RunCompleted where I check it its connectedToServer or not. I not, I call a method (CallToReconnect()). Over here, I got to wait for 20 secs updating the status bar on each...
16 Jun 2011 by All Time Programming
SA, then by using Thread.Sleep, how do I update the text in statusbar as wanted ? I am not able to handle that part as expected hence tried with timer.Do you have any idea to avoid timer, use Thread.Sleep & update the text every sec ?
23 Apr 2012 by alok.mailbox
http://cosier.wordpress.com/2007/10/23/net-propertygrid-how-to-set-column-width-and-description-window-height/[^]http://www.actiprosoftware.com/community/thread/3778/controlling-the-namevalue-width-ratio-of-the[^]
2 May 2014 by altaf008bd
I think, you can use percentage width (instead of fixed width) for each of the div. For example: say there will be 4 buttons in a div. so, each of the div (which contains the button) width will be 25%..div-parent{width:100%;}.div-button{float:left;width:25%;}.div-button...
5 Mar 2015 by Am Gayathri
How do i add div that will come from left of the page and should be fixed while scrolling using jquery?See below linkhttp://pdfutility.blogspot.in/2013/12/nsf-to-pdf-conversion.html[^]in this above page, once the page load is completed a div with facebook image is coming from left...
3 Apr 2015 by Am Gayathri
How do i change main layout content from controller in MVC c#?I have one layout,home view and user view.That layout contains one menu bar and footer.Am using this layout for home view and User view. This layout contains menu bar with log in and sign up options.When the user logged in i...
21 Feb 2011 by Amit Kumar Dutta
Discusses a simple and testable way to bind Commands inside DataTemplates (Parent-Child scenario) in any WPF or Silverlight application built with the MVVM design pattern
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)
11 Jul 2013 by Amit_Mittal
A way to achieve automatic scrolling during a drag operation
12 Nov 2014 by Ammar Shaukat
i'm going to attend a workshop . where windows forms of C# would be discussed . i.e, where to use windows forms , when to use , why to use , what are their advantages.please mentions any criteria to compare which tool is better to make a good interface.
9 Oct 2010 by amr azab
Simple animated loading text, like last MSN messenger, show animation and transparent mask in WPF
11 Nov 2015 by amsga
Hi,I'm currently using Qt Designer to generate out my .ui files for development.I noticed that there are other styles that Qt has to offer like "Cleanlooks", "Plastique" and the likes.I was wondering if there is a means of embedding these styles into the ui file directly without the need...
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...
18 Jan 2013 by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
7 Oct 2012 by Andriks
A MessageBox replacement with some much needed extras
12 May 2011 by AngelLoose
我想做一个绘图,要求绘制的每...
14 May 2010 by Anil Sarda
Hi, I want to check whether user exists, if exists then user password should be retrieved to textbox2, I am using BLL to check whether user exists or not.Protected Sub button1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim productslogic As...
5 Feb 2019 by Anilananda
Hy guys can anyone tell how to do form validation with angularjs in asp.net (.aspx page Not MVC) i want to use runat="server" and angularjs bouth from form validation , can any one tell is it possible or not. if possible how to do this? What I have tried: Here is my code
3 May 2010 by Ankur\m/
Check this[^].The link will teach you something very interesting as well. :)
30 Jan 2012 by Anoop Pillai
Demonstrates how to use ASP.NET MVC, SignalR, EF and Knockout Js to build real time syncing UIs
12 Jun 2013 by Anshu Krishna
kLib: A small library to make DOM operations very easy.
1 Jun 2010 by Anthony Mushrow
I suppose you could use this:SetParent[^]It should do exactly what you want.
30 May 2013 by Antony_Christopher
Hi all, I am newbie to WPf.trying to update richtextbox control using dispatcher,while execution the application gets hangup but not goes to notresponding stage.it's working for particular minutes say (5)after that it get's freezes and updation carried out frequently.It will updates...
31 May 2010 by Anu Koshy
Hi,I have a CListCtrl. The first column of the CListCtrl has sentences, i.e. each cell of the first column has a sentence. I know that it is possible to set the color of individual cells. Is there any possible way for setting color to a specific word in the sentence contained in a single cell....
3 Jun 2010 by Anu Koshy
You can useclosebutton.EnableWindow(0);where closebutton is the variable name of the control.
17 Jun 2012 by Apemania
C# Forms RichTextEditor with custom hyperlink with Outlook address like text entities, custom popup listbox, and a screen tip.
19 Jul 2021 by Arda Güler
Hello, I've been tasked to create a cross-platform form app at work, but I am not quite sure about what to use. I've never created a cross-platform app before, I've made a little research and found about mono project and uno platform, but still,...
4 Jun 2010 by Arindam Tewary
You may give a try with "div" element instead of new window. Make the look and feel of the div like "window" using appropriate stysheet. If you use div then your application will not loose focus which seems your main concern. Hence current UI design will be inside the div now(div will work...
27 Sep 2015 by Arlert
Get System.InvalidOperationException ("The calling thread can not access to the object, since the owner of this object is the other thread.") while trying to do animation.Thread t = new Thread(new ThreadStart(DoPointsShift));t.Start();private void DoPointsShift() { ...
8 Sep 2011 by Arun Parthasarathy
Its always better and a more secured way to save the passwords in the database.Not directly as such, that too on encrypting and saving it.Only on decrypting it, u can able to see the original pwd.since you mentioned you gona save password in file. i advice you to save that file as a blob...
27 Dec 2010 by Ashish Kaila
Declaratively and visually create custom windows in WPF
1 Jan 2011 by Ashish Kaila
Learn how to leverage UI automation in testing your UI and also to support accessibility features
8 May 2012 by asinefa
Can you help me to test my UI.I have already created my MVVM application. And I need to test it, but I've no imagination how to do it.Thank you)
26 Jan 2021 by asiwel
Simple class to write an array as a formatted, attractive table to console or other UI text display control
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
11 Oct 2013 by ASP.NET Community
SilverlightThe Rich User Interface helped to create a website which will make the UI as a desktop application. Silverlight 4.0 even came with out
11 Oct 2013 by ASP.NET Community
Basically when DataList is rendered HTML in Table and like below   HTML Code placed at ItemTemplate
11 Oct 2013 by ASP.NET Community
Recently I have come across a situation where I need to customize the UI of jQuery UI autocomplete plugin. For reference I am adding the plugin
15 Oct 2010 by AspDotNetDev
Use "Show" instead of "ShowDialog".
2 Jul 2012 by AspDotNetDev
From the top of my head:AssociationSeparatorCombinerYou might even consider calling the equality operators the "association" and the "and"/"or" the "operator". I'm thinking it would be more intuitive to say the association between inputs is that the are "equal"/"not...
6 Sep 2015 by atulonweb@gmail.com
@model ProductModel@if (Model.Id > 0){ $(document).ready(function () { $("#customers-grid").kendoGrid({ dataSource: { type: "json", ...
16 May 2010 by ayan_00_arup
Hi everybody,I want to start an application (Deep Freeze) from my application and I want to control it. Such as when the Install Window (I used command lined parameters to silent install) shows I want not to show it.Again when installed, by right clicking on the system tray icon a dialog box...
30 Apr 2013 by Aydin Homay
In the tip, I want to illustrate how to host windows form in windows user control
7 Nov 2012 by Aydin Khatamneajd
Using ModelMetadataProvider to Set Display Name Metadata for the Model Fields at Runtime
28 Jun 2016 by Bajirao_
Sharepoint popup appears at the top of the page when page length is big in terms of height. Fix is suggested in this tip.
23 Jan 2012 by Bart Dubois
Describe how to create list of items with custom defined layout resource