Click here to Skip to main content
15,892,927 members
Everything / GUI

GUI

GUI

Great Reads

by Colin Vella
This article presents an algorithm and data structures to implement auto-tiling as seen in RPG Maker, the Starcraft level editor, etc.
by Sergey Alexandrovich Kryukov
Popular question on Forms collaboration, also answered for WPF
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients

Latest Articles

by Chris Boss
BASIC: A powerful language often underestimated and undervalued
by Steffen Ploetz
My way to have a first sample program running with "Texus' Graphical User Interface" (TGUI) - a cross-platform modern C++ immediate GUI, on which I use "Simple and Fast Multimedia Library" (SFML) as backend.
by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients
by Jovibor
PE (x86) and PE+ (x64) files viewer, based on libpe.

All Articles

Sort by Updated

GUI 

1 Oct 2016 by #realJSOP
You can't "expand the size of the non-client area". But you can position a window off the visible screen. Simply set the position of the "non-client area" window to a negative Y coordinate, and make sure the window's height is appropriate. So if your window is positioned at 0,-100, then your...
6 Nov 2018 by #realJSOP
should i be doing this with data binding because this is WPF? Yes.
8 Sep 2010 by 286035062
Would you mind send your code to me?286035062@qq.com
6 Jul 2011 by 2irfanshaikh
i think this link [^] will help you.
29 May 2013 by _frog_
Hello! I am beginner in Python programming and I want to make an application (GUI) in Python 2.6 + wxPython for process data stored in .mat files . (I make such data processing in MatLAB.) My application consists in:-selecting the path of the files process and the file i want to...
19 Jun 2012 by A. Ganzer
Validation of input made as easy as possible for Windows.Forms, WPF, console-applications or any other purposes
7 May 2013 by Aarti Meswania
visit link...http://graphicdesign.stackexchange.com/questions/199/point-vs-pixel-what-is-the-difference[^]Happy Coding!:)
8 May 2022 by abc174
So i'm a newbie and I to created a gui with 3 panels. One panel is at the bottom and the other two are splitted vertically. I want to put a text field into the right top panel but however I can't resize it. Can anyone help? What I have tried: ...
17 Jan 2014 by Abdelrahman Elzedy, Abeer Touny
A description for a Java code implementing a Matrix program in a GUI form
9 Aug 2018 by abdul shakib
this is wpf modern ui link download and open in visual studio and run GitHub - firstfloorsoftware/mui: Modern UI for WPF[^]
7 Sep 2011 by Abhijit Jana
Why you are not trying it using Java Script ?Add and Remove HTML elements dynamically with Javascript[^]
6 Oct 2010 by Abhinav S
See here[^].
19 Jun 2011 by Abhinav S
See http://msdn.microsoft.com/en-us/library/czke9azk%28v=vs.80%29.aspx[^].
9 Dec 2011 by Abhinav S
Start be reading through http://msdn.microsoft.com/en-us/library/2e08f6yc(v=VS.100).aspx[^].Easy Asynchronous Programming[^] should be useful to you as well.Asynchronous Method Invocation[^] and...
29 Jul 2012 by Abhinav S
Beginner's Guide to Programming [^]could help you decide what you want to do next.
24 Sep 2010 by Abhishek Sur
I hope this would help :Creating MDI application using C# (Walkthrough)[^]
17 Oct 2010 by Abhishek Sur
InputBox is totally removed from C# and actually it doesnt need that. Rather you can create it of your own if you like. Just create a form and add a textbox and use it as an InputBox.
2 Oct 2014 by Adam Zgagacz
WinForms Scrollbar with enhanced properties, graphical bookmarks and value tooltips.
31 Oct 2018 by Adam Zgagacz
Simple WinForms auto-repeat button in a few lines
30 Jun 2012 by Aescleal
Bjarne Stroustrup has said that the biggest mistake that programmers make is trying to learn C++ at the same time as learning how to program a GUI. Writing win32 GUI apps in C++ can cause an unholy mess if you don't understand the programming language or the environment you're using.First...
13 Jan 2015 by Afzaal Ahmad Zeeshan
Never get yourself obsessed on to a movie, they're playing animations not real time softwares. What do you think Jarvis from the movie series Iron Man is? He isn't a computer program instead a recording. Now if you go out to create a software project to create Jarvis (artificial intelligent...
29 Mar 2012 by Akkywadhwa
Hi friends..i want to retrieve my location's present from BIOS.Thanks and RegardsAkkywadhwa
13 Feb 2012 by akminder
While making GUI project i am facing problem in aligning the text in center when i am maximizing the screen.Even if i increased the size by using property window still the size remains same when i execute it.
13 Feb 2012 by akminder
How to hide the previous form when we click on new form.I tried it by using HIDE() property.Its not working pls guide me even if it is to be used tell me where to use it.
9 Jul 2012 by Alan Burkhart
Quick and dirty Accordion control for WinForms in about 50 lines of code.
27 Oct 2011 by Albert Holguin
By doing this inside of your independent thread:pTab->ReadData(abBuffer, szTimestamp, numBytesRead);and this is what you said you're doing in there:void MyApp::ReadData(byte bytesRead [], char* timestamp, int bytesread){ // display the bytes in list control}You're still tying in...
11 Jul 2012 by Albert Holguin
Quote:After compiling and debugging the initial setup it was reading errors like: " fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory..."Well that's rather self-explanatory, the compiler can't find the stdafx.h file in any directories you specified as part of...
26 Nov 2012 by Albert Holguin
Perhaps you need to think of the big picture of your application instead of coding things as they come along. The reason I mention this is because you're probably better off making your main window first (you don't have to show it, can be invisible) and THEN create the child modal dialog that...
27 Nov 2012 by Albert Holguin
There's really two big and entirely different portions to this...0. The graphical portion.1. The actual interpreter....as may or may not be obvious, the meat of it is in the interpreter. You're essentially developing a scripting language interpreter. If you want to see how the concept...
4 Feb 2013 by Albert Holguin
Your question is pretty vague... but I do know that the Qt examples are pretty decent (although their detailed documentation isn't very good).Start here: http://qt-project.org/wiki/QtWhitepaper[^]Familiarize yourself with the framework then start a simple Qt application.
6 Feb 2014 by Albert Holguin
GUI and sockets have nothing to do with each other. Find a GUI example, find a socket example, implement both, and you have a program with both a GUI and sockets.
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...
17 Jan 2014 by Alex M.H.
Well, maybe im just to tired to see the tree ...I'v written a tray-app, which includes a WinForm with a NotifyIcon (on it). There's also a ContextMenuStrip CMS connected to the NotifyIcon's contextmenustrip-property. I did the main method the following way:static void Main(){ ...
12 Jun 2014 by Alexander Gorin
I suppose, It is no longer actual for the author, but for next generations:Your function starts before you press the button because you call it explicitly:self.connect(self.showButton, SIGNAL( 'clicked()' ), self.processData())Probably, you wanted to...
10 Feb 2012 by alexy.shelest
This project is a real-time multi-threaded trading application framework developed with WPF / MVVM
3 Feb 2019 by Alhusain Salam
Hello everybody what is the library or framework that is used to create the Graphical User Interface of Microsoft Office programs thanks What I have tried: the GUIs are very good looking and smooth in using so I'm wondering what is used to create them,
15 Jun 2016 by AlibiOfHumanity
I am unable to load binary files and create new binary with some part of the content from the read file. I used GFileoutputStream and g_file_load_contents but as soon as zero comes it takes it as terminating character which i don't want.I want to read even zeros and then extract data bit wise....
6 May 2021 by Allan Nanks
i am working on a standalone core java project using graphical user interace. i have created buttons to show days of the week from sunday to saturday. now the problem is that i want to create buttons such that when the user clicks on a day, they...
14 Jul 2013 by AlphaDeltaTheta
Descriprion of the use of the new @font-face CSS rule introduced in CSS3 to use custom fonts in web pages.
29 Oct 2014 by AlwaysLearningNewStuff
INTRODUCTION:I am inexperienced software developer who had a task to implement informational system all on my own. Since the deadline was short, I was unable to design UI to provide convenient experience for the user. I had no one to turn to for help either but have managed to somehow...
18 Nov 2014 by AlwaysLearningNewStuff
I am software developer that has a job to create database for storing contracts.Contracts have annexes and construction reports ( I don't know how to translate this better, English is not my native ). Both contract and annex can have none or only one Payment report.Annexes and...
30 Dec 2014 by AlwaysLearningNewStuff
INTRODUCTION AND RELEVANT INFORMATIONI am programming application that writes data about contracts into database. It is similar to banking software.Contract is very complex data, so let me describe its structure:It has basic info that is represented with a set of basic controls (...
29 Jun 2012 by Amarnath S
Use Qt [^]Qt applications run both on Windows and Mac; and Linux. Plus, it is free (see conditions on that site). Look at [^] for getting started.
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)
9 Mar 2012 by AmitKumar89
Hi there..Send your card number from the first form to second form..If you are using datatable to display the data then use this code:DataRow[] dr=dataTable.Select("ColumName = "+cardNo);All the best..
9 Oct 2010 by amr azab
Simple animated loading text, like last MSN messenger, show animation and transparent mask in WPF
28 Oct 2012 by Anandkumar D
Yes MS Excel should be installed on the particular computer where your using this application.
18 Feb 2022 by Andre Oosthuizen
The reason you see only the last entry saved is because you have only called the last record in the list. You need to loop through all the list items and add them yo your database as you count through the list using a loop. Your code should look...
13 Jan 2013 by Andreas Gieriet
To consider:Assuming you have separated the GUI from the business logic, I strongly suggest to test the businesslogic independent from the GUI. E.g. in .NET by means of MVVM and run tests based on the provided commands.GUI Test is then only for checking if the GUI properly connects to the...
11 Aug 2014 by Andres Cassagnes
A basic guideline to start with GUI designing with wxWidgets
4 Sep 2014 by Andres Cassagnes
wxWidgets resources examples and COM port communication.
15 Apr 2016 by Android on Intel
With some of the new features available in Intel® VTune™ Amplifier 2016 Update 1 it is now relatively easy to obtain simultaneous capture of power and performance data on an unplugged Android device.
16 Oct 2011 by André Kraak
GetClientRect[...
11 Jun 2013 by André Kraak
This article should get you on your way: A Multiline Header Control Inside a CListCtrl[^]
4 Aug 2022 by Anh Nguyen Jul2022
I'm creating a calculator app using PyQt5, and when I'm assigning an action to my button to update the label text that resides in a different class from the button class. It seems to be doing something, but instead of what I'm expecting to...
13 Jul 2010 by Anupam Banerji
Explains the .NET approach towards globalization, and introduces the tools and methods to successfully implement globalization.
4 Aug 2011 by anushan23
Hi! I need to know how to change the background image for my MDI application on a daily basis. Can anybody tell me how I can achieve this? Example today is Friday so today one background image .tomorrow automatically change another background image Any codeThanks for your interest!
6 Dec 2011 by apaka
Is there any way to set overlay icons for some items of ListView control in c#? I tried status icons but they don't overlay. Thanks in advance.
17 Sep 2011 by Arun Kumar K S
Hope this link will help youhttp://msdn.microsoft.com/en-us/library/0wwk06hc(v=vs.80).aspx[^]
27 Mar 2012 by Aryan Kukreja
Hey Guys,I've been looking for a solution to apply multiple filtration using text boxes and showing the result in Data grid view. This data is imported form SQL Server and p-printed to datagridview. Thanks and RegardsAryan Kukreja
22 Dec 2021 by asaad kittaneh
0 I'm building my first Tkinter GUI, and I need to create a multi-column Listbox using TKtreectrl, but when importing the module I get this error, import error: No module named "TkTreectrl". How to solve this problem, thanks in advance. What I...
18 Feb 2022 by asaad kittaneh
geniuses I am trying to insert all Treeview rows into the sqllite3 database, and instead of that, it only inserts the last row. What I have tried: I have tried the following: def buying_addcheck(self): self.conn = sqlite3.connect('car...
6 May 2022 by asaad kittaneh
I am trying to make a notification depending on the current date, and I have a date list from the database, so when the current date matches any date from the date list so the GUI will display a notification message box that includes that date...
2 Jun 2022 by asaad kittaneh
I am trying to save a textbox text as a pdf file but I got an encoding error, I have tried the following: What I have tried: from tkinter import * from tkinter import ttk from tkinter import filedialog from tkinter.filedialog import...
31 Aug 2022 by asaad kittaneh
I am trying to select rows and fetch them from the DB table and then insert them into a list so I can insert all of the rows at once into the database. but I got an error : self.dashboard_buying_checks_dates = self.cursorObj.executemany(...
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
21 Jan 2014 by Ashley Davis
Documents my experiment building a flowchart with web technologies.
20 May 2010 by AspDotNetDev
Rather than create your own windowing system in XNA, you might try using XNA with Windows Forms.If you build your own windowing system, you'll have to consider keyboard/mouse input (and blocking it for all but the main window, which could be called an issue of scope), text entry (track...
16 Jan 2012 by astika
how to develop GUI applications using YUI (Yahoo User Interface?I am new.I dont know what is YUI?plz help.
17 Jan 2012 by astika
I am new in YUI I refer http://developer.yahoo.com/yui/examples/event/eventsimple_log.html this link to do simple application but on clicking button i can not get any action.plz help Me
2 Aug 2011 by Astolf
You can do it using the onFocus and lostFocus event.When the TextBox gets the focus, you can clean the textbox, and when it lost, you can paint if needed.
15 Jan 2023 by Aura Blue
So, I have a program project in mind where the user enters some specifications, java stores the input as variable and by using an if else statement displays the result accordingly. The program is about finding your anime girl. I need some tips on...
14 Mar 2013 by Avijit Chakraborty (Ind)
public void Test_focus(Object o, EventArgs e) { if (stageTabCtrl.SelectedItem == EventBrowser) { MsgBox.Show("EventBrowser"); } else if (stageTabCtrl.SelectedItem == Live_View) { ...
9 Dec 2011 by awaisdar
i have some ques.i have understood the concept of handling the event using delegates (as some extent not whole). but there is some thing else here.Asynchronous and Synchronous Methods.1.What is the difference between the two? simple example.2. i have a method that takes 30 mint to...
13 Oct 2011 by Ayesh Ruwandeniya
I've created one and it is working perfectly.. Tell me where to upload them?
26 Oct 2021 by Azim Zahir
This article demonstrates creating user-interfaces using PySimpleGUI.
17 Mar 2012 by ballacky13
Dears,I have a MFC dialog that contains a CEdit object inside. By default, if using Spy++ to query the class name of CEdit, it is "Edit". I wanna change its name to my private class name.Does anyon have any idea?
23 Oct 2011 by barneyman
you're spinning up and dropping a thread per reception; that's very expensive, and your message pump is heavily involved in the receptionStart the receive thread up, and have it sleep on a mutex, which gets signaled by your OnDataArrived message handlerOr even better, have the receive...
15 Mar 2012 by barneyman
I can't help you with 8.1, but with 9+ the process is this Load your bitmap into a textureGet the size of the backplane using GetBackBufferCreate a square textured backplane (vertex format = D3DFVF_XYZRHW | D3DFVF_TEX1), using D3DXVECTOR4 with w set to 1.0In your render function,...
23 Jan 2012 by Bart Dubois
Describe how to create list of items with custom defined layout resource
4 Sep 2014 by Beta Tester
Hi guys, I'm kinda new to programming, currently self studying C# GUI atm.How do I do binary subtraction and multiplication without using padleft method? I managed to do the binary addition part and was told that I can reuse the addition code for multiplication. NVM solved.
4 Jul 2013 by bhuvamehul
To do this you have to take third window form which size is same as Parent form and that form's FormBorderStyle set to none,set background color as you want and set opacity to 30%. Show this form when child form activated, keep child form always on top. Hide this new form when child form closed.
2 Feb 2012 by Bijay prasad shah
i want to connect sql database to gui form, in which i have made two combobox and two textbox with two button save and close.
5 Nov 2012 by bikramjeet.sm
Hello guys I need a help regard desktop gui design i want to make up my desktop application buttons, gridview and window form also. example u can see window form of MS office it just a example how can i make this kind of gui in .net plater form.Thank You
24 Oct 2013 by BillWoodruff
You've asked a question which, for those of us who are familiar with CodeProject, is kind of like someone living next to a river being asked by a stranger where they can find water :)But, you've asked in the right place: CodeProject is full of excellent Controls for WinForms and ASP.NET...
30 Oct 2012 by Bitla Phanindra
You can try this OLEDB Provider is not registered on the local machine[^]ORtry adding the Reference of 'Microsoft.ACE.Oledb.12.0.dll' to your project.
10 Mar 2015 by Blake Allen
topFrame=Frame(root)topFrame...
22 Jan 2014 by bling
An alternative is to create a separate window station and create the process under the new window station. Leave the current window station active. Do this only if you don't want the new process to interact with the current...
19 Jul 2012 by BobJanova
If you mean C, and not for example C++ with COM, events are not part of its methodology. Nor are interruptible threads or methods. I'd recommend that you expose the 'do one frame' function directly to the outside (i.e. so the C# library can call that), and manage the interruptible loop of...
17 Aug 2010 by bonzaiholding
Hi,I have a code that contain one line that take something like 8 seconds or even more.I want to make some indication for the user that the process is still active.problems:1. I don't know how much time it will take, something between 0 milliseconds and 2 minutes.2. I can't use...
17 Aug 2010 by bonzaiholding
Thanks :-)It was very useful...I create a new class that inherit from Progressbar and contains BackgroundWorker for doing the event in a diffrent thread that can also increment the ProgressBar in the main application.
26 Mar 2014 by BotCar
http://stackoverflow.com/questions/19642320/is-there-a-performance-difference-between-wpf-and-winforms[^]
27 Jan 2021 by Brian Lowery
I am interested in building a bitmapped schematic editor. And yes I know that this has probably been answered before. I found this site by accident while searching the internet. It was Michael Scanlon's response to a user who wanted to do this...
2 Feb 2011 by C. Groß
Hi everybody!First of all, please excuse me if my English is not perfect, I'm not a native speaker.Let me first describe what I'm up to:I want to create a GUI for a command line tool which I have not written by myself.I got so far to be able to launch the tool with desired...
23 Dec 2012 by CalicoSkies
I've heard that GUIs are generally not thread-safe, and this seems to be true across multiple GUI libraries (such as MFC and WinForms, for instance). I have seen crashing or odd behavior caused simply by updating some text on a GUI object from a separate thread. Why are even the simplest GUI...
25 Aug 2011 by Caner Korkmaz
C++ -> Drawing Rectangles to Console
2 Oct 2014 by CDP1802
Sorry for the late answer, but I hope I can still help. I had my own little GUI and 3D engine project going, but said goodbye to Mickeysoft when they abandoned XNA and wanted to have everything the Windows 8 way.There is no general answer to your question. It depends very much on how your UI...
26 Sep 2012 by Charles Ju
This is a C# wrapper for Diablo III API. The project include the wrapper API file and a GDI+ ownerdraw panel and a Winform demo. You can add any Diablo III tag to the left combobox.
27 Jan 2012 by chefsponk
I want to draw the default animated cursor (hourglass in XP, circle since vista) on a form.Theoretically, this is no problem using LoadCursor(NULL, IDC_WAIT) and DrawIconEx with the special parameter istepIfAniCur.My problem is: How to determine the number of frames of such a system cursor...