Click here to Skip to main content
16,004,453 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 Title

GUI 

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...
17 Nov 2010 by PavPS
.NET C# TrayBalloon component with hyper-links and fading.
16 Oct 2011 by Iron-Eagle
I am quite desperate to resolve this very annoying issue :( . I am trying to display a child window on parent window. The instantiation is fine and the window shows what it should.At some point the window need to be resized. But for some reason, when I using MoveWindow function it leaves...
16 Oct 2011 by André Kraak
GetClientRect[...
16 Oct 2011 by Richard MacCutchan
Take a look at this section[^] in MSDN, which may help.
17 Oct 2011 by Iron-Eagle
The problem was WS_POPUP flag to the parent window.Very strange. As far as I know it was not suppose to have such an effect.Thanks for everyone!
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...
4 Nov 2014 by Member 11207949
please help us to solve this problem ........... which need to be implemented in java with nicely representation in graphics
4 Nov 2014 by Garth J Lancaster
please stop cross posting (posting a question in multiple forums)
20 Jun 2016 by The Zakies
we will build an outline line around the drawn lines so we would test the mouse click on this outline to know which line is selected. and we would in the coming update build a select function inside the move tool
24 Jun 2016 by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
29 Jun 2016 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
3 Jul 2016 by The Zakies
we will continue the functionality of the hand tool with having a navigator panel which works as a map, we will also have a red rectangle which tells the user where he is actually viewing inside the whole form, also it can be moved to pan the form
20 Jun 2016 by The Zakies
Learn how to implement a tecnique of a parent form that createes and controls other forms , through the tecnique of using the tab control, also learn how to implement a menu for the tools, and how to add cutom cursor for each tool
11 Dec 2011 by Raj Lal
Chapter 11 of "Fun with Silverlight 4" More information at http://silverlightfun.com
19 Jun 2012 by A. Ganzer
Validation of input made as easy as possible for Windows.Forms, WPF, console-applications or any other purposes
17 Jul 2020 by honey the codewitch
Add a flexible knob control to your .NET projects
23 Jun 2011 by Lewis Liu L
A Graphics Drawing Tool by using C# and Winforms
16 Dec 2010 by tgis.top
CheckGroupBox, RadioGroupBox, CollapsibleGroupBox controls
21 Jun 2018 by Member 13034100
I apologize to ask a simple question by not being pro-CS. I'm a dedicated autodidactic programming learner, and I'm trying to build some GUI application but I'm still confused about the basic process to link engines ( core code ) with graphics resources which are the front end. Can you...
21 Jun 2018 by Richard MacCutchan
If you want to create an application for any platform then your best bet would be Java: The Java™ Tutorials[^]. If you just want it for Windows then Visual Studio is the best IDE, and you can learn Windows programming from EFNet #Winprog[^] and Win32 Programming - FunctionX[^].
22 Jun 2018 by Jochen Arndt
At first you have to select a GUI framework: List of platform-independent GUI libraries - Wikipedia[^]. All of those provide documention with tutorials and example code. So you might try out some of them before doing the final decision. Because you are using CodeBlocks, you should have at...
11 Jul 2018 by Member 13034100
Thanks to all for all your great suggestions but I think that finally I came across with I was looking for: SLD2, a powerful library that allows you to manage not only the all graphic features but also, mouse, keyboard, sounds...etc. Now I'going to learn it from tutorials, books...etc. Cheers!
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)
25 Jul 2014 by JamesHurst
Walks through the creation of an on-screen virtual keyboard for entering non-ASCII chars
27 Oct 2018 by Steffen Ploetz
Give an brief overview of text rendering options for OpenGL/OpenTK especially for MONO/.NET.
26 Jun 2012 by Frostbite_dx
Hi,I have a problem accessing the UI to provide some data which are distributed inside a class.My program actually enables and disables el. power of other pc's to do some shutdown/restart (sometimes necessary when you're in tech. support, with associated HW of course).I have realized...
27 Jun 2012 by Valery Possoz
Hello.You can do this by using event handlers.First create a class to store the event data you want to transfer:public class TimerEventArgs : EventArgs{ public string TickTime;}Then in your Device class add a EventHandler:public event EventHandler OnTick;And use it...
27 Jun 2012 by Wonde Tadesse
See this CodeProject article.Updating the UI from a thread - The simplest way[^]
2 Sep 2011 by Divyanthj123
I have a graphics console application which could be better if I could change various values in it in a form, then execute the console application after clicking a "start" button on the form.Suppose I have a simple c++ program like this (which could execute in turbo...
2 Sep 2011 by Philippe Mori
I think that in this case, you should create a Windows application. That application would then create another application (the existing application) and exit.CreateProcess might be used.http://msdn.microsoft.com/en-us/library/ms682425(v=vs.85).aspx[^]
2 Sep 2011 by enhzflep
Okay then, I'm bored and it's dark outside so I can't go flying for another 3 or 4 hours when the sun comes up. I'll see what I can do about giving you a walk-through of sorts.I've just looked into the Console Functions (windows) as suggested in my last post. I have found that it appears...
2 Sep 2011 by LaxmikantYadav
Better way to create new Window Application. And port your old console base code to Window Base Application :)
4 Sep 2011 by enhzflep
#include #include #include #define IDC_BTN1 10000#define IDC_BTN2 10001#define IDC_EDIT1 10002#define IDC_EDIT2 10003#define IDC_EDIT3 10004/* Declare Windows procedure */LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);/* Make the class...
5 Apr 2016 by Matt Scarpino
Developing Low-Level Linux Applications with XCB (X protocol C-language Binding)
29 May 2021 by Member 15078716
I have read about using buffers to move a ball on the screen. I am using C++11 on Microsoft Windows 32 bit. No visual C++. No Visual Basic. No .NET. No Active X. Please. Thank you. Would you please look at what I have and adjust it to correct...
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...
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
27 Mar 2012 by ProEnggSoft
The following procedure can be used.//Create a binding sourceBindingSource bindingSource1 = new BindingSource();//Set the datasource property of bindingsource to the DataSetbindingSource1.DataSource = NorthWindDataset1;//Set the DataMember property to the required...
20 Oct 2010 by NARAYAN S JOSHI
con1.Connect...
20 Oct 2010 by Mohd Wasif
"select Name,Gender,Phone,MobileNo,Address,E_mail,City,Country,Pin,Company,JobTitle from Details where Name like '%" + textBox1.Text + "%'";use like It.
28 Mar 2013 by Florian Rappl
An introduction to async / await, popular mistakes and solutions for asynchronous programming, as well as usages and benefits from using asynchronous programming. We will also discuss interesting patterns based on concurrency.
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
28 Feb 2024 by Chris Boss
BASIC: A powerful language often underestimated and undervalued
5 May 2014 by Gerald Gomes
This article will make an attempt to describe a basic way to start implementing animation in WPF.
29 Jul 2012 by Sergey Alexandrovich Kryukov
The "type of programming" it up to you. As this was probably not apparent to your in first place, you are already a pretty bad programmer. Of your life.This is where you need to start. You should understand that only your own deep interest can drive you.—SA
29 Jul 2012 by Mehdi Gholam
A "good" programmer is someone who does his job, to do your job well you need :- A good grasp of technology- A good grasp of the domain you are working on- Communication skills - Experience coding projects- Experience in failures
29 Jul 2012 by Abhinav S
Beginner's Guide to Programming [^]could help you decide what you want to do next.
29 Jul 2012 by nv3
To become a good programmer, here is what you should do:Step 1: Become a programmer.After you have reached that after a couple years, attempt next step:Step 2: Become good.Optionally you might want to proceed after some 10 or 20 years byStep 3: Become very good.Broad...
29 Jul 2012 by Richard MacCutchan
How can you become good at anything? Practice, practice, practice.
29 Jul 2012 by Esmond90
No pay no gain.Before you build the castle in the sky,build it on the ground first.=)
30 Jul 2012 by Volynsky Alex
Try to write any product on C/C++, and then try to write something on the C #, VB, etc. Read articles, books .... I am sure that only after testing different technologies, testing different languages , ​​do you can make the Right Choice ...Good luck!
30 Jul 2012 by Prasad_Kulkarni
Refer similar answer for this thread:how can i become a good programmer[^]
30 Jul 2012 by Joan M
I've not seen anyone recommending PATIENCE.You'll need it, perseverance, practice and time...
30 Jul 2012 by JackDingler
Spend your days writing code.Endeavor to constantly learn new coding techniques, libraries, technologies etc...Endeavor to improve the quality of your code.Learn all you can from others."Amateurs borrow. Professionals steal." - Advice from old timers...
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
20 Jun 2019 by nadavrock
i got started with python tkinter. but could barely get a scrollbar to work. so i figured this cant be the best gui there is. what are some options with the most features? What I have tried: i got started with python tkinter.
20 Jun 2019 by OriginalGriff
I'd start with a .NET language: .NET (in one form or another) is now available for Windows, Web, Linux, Android, iOS, ... I'd suggest start with C# / WinForms where it's easy to create a scrollbar in code (though it's even easier to create one in the designer): VScrollBar sb = new...
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.
20 Nov 2011 by zakariawaheeb
Dears,I am working on a project where I need to display only a certain area from my GUI on a datashow (another screen). I want to have some sort of background control room that is not visiable to the spectators, and I want to do it by just showing certain portion from the GUI and keeping the...
20 Nov 2011 by Sergey Alexandrovich Kryukov
Why going into such tricky game with two monitors? (Please see my question and tell us if I understood you correctly; is it about two different monitors.) You would be limited by the length of a cable, also, the risk of exposing a "secret" part of UI to the used of another monitor is too high,...
20 Nov 2011 by Valery Possoz
Hello,Assu...
24 Aug 2010 by rush44
Hey, I have been researching Artificial intelligence for a while now, I have searched all over the Internet for a Chat Bot, so I was hoping for some help, a project download would be help full :-D it has to be able to:talk back,learn new commands say e.g. "Hru means how are...
24 Aug 2010 by Christian Graus
Process.Start(...
24 Aug 2010 by Nuri Ismail
"I have searched all over the Internet for a Chat Bot" - rush44Did you search the articles on CodeProject? Have a look at these results[^].
21 Aug 2012 by Logic Error
I found this here: Chatbot Tutorial[^] I have compiled a couple of versions of them and somewhere Mr Gonzales has versions posted in C++ and C#. They are console applications so will have to be made into Windows GUI applications, something I would like to do as well.
22 Feb 2013 by crunchor
Are there advanced winform to study and how compllicat can be c# front end be?
22 Feb 2013 by sandeep207
No there is so such special frond end you have to use C# Window Application Template to develop application.
17 Dec 2011 by user_code
Hi,I'm programming c# GUI and I have 2 forms.Form1 is my main form, and it has a button to open form2.When the button in form1 is being clicked, I hide form1, create a new object of form2 and show form2.I have a back button in form2. I want the behavior of this button to close form2,...
17 Dec 2011 by Wendelius
Could you simply use Form.ShowDialog Method [^]. The back button on form 2 would close the form2 so the control would automatically get back to form1.If needed, the form 1 could be hidden before the ShowDialogCall using for example:...
17 Dec 2011 by Uday P.Singh
you can go with the Mika's answer or you can do this:on back button of form2 write:private void button1_Click(object sender, EventArgs e) { this.Close(); Form1 frm = new Form1(); frm.Show();//or//frm.ShowDialog(); }hope it...
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 Sep 2014 by MarqW
This will convert your two binary strings to integers, you can then subtract, and return it converted back to a binary string int i = Convert.ToInt32(textBox1.Text, 2); int j = Convert.ToInt32(textBox2.Text, 2); Return Convert.ToString(i - j, 2);
4 Sep 2014 by OriginalGriff
First off, that is some odd code you have there:for (int i = textBox1.TextLength - 1; i
14 Jun 2010 by User 6744868
I have been a fan of the Windows Aero styled windows since Aero was first introduced in Windows Vista. However, there is little to no Aero inclusion in the .NET Framework, so I set out to create my own Windows Aero themed form.
7 Nov 2018 by TheBigBearNow
Hello all, I have a question. I have a user object with properties. I have a login screen and when the user logins correctly I pass the user object to the next window. On the top of this next window I would like to display this below with the new line in the control. Should I use a text block or...
6 Nov 2018 by #realJSOP
should i be doing this with data binding because this is WPF? Yes.
7 Nov 2018 by M.Kamran Asim
1. Choice between Label and Textblock depends on requirements. If your data is only text, go for TextBlock. As it is light weight, but if you need some content like image, grid or other complex typed, then label is fine for you. Personally for simple messages, I use textblock with some styling...
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.
25 Aug 2011 by Caner Korkmaz
C++ -> Drawing Rectangles to Console
25 Aug 2011 by Jose David Pujo
Smaller code:void DrawRect(int x, int y, int width, int height, int curPosX=0, int curPosY=0){ setxy(x, y); cout
13 Dec 2013 by MathiasEnevoldsen
Hello everyone how can i make a GUI from scratch, also with the window in Spotify not like a normal window.And should work on Linux, Mac OS, Windows. And should be from scratch that will say with no Window API or other API/Libraries.And yes i have work with C++ but will try something new...
13 Dec 2013 by OriginalGriff
Um.Do you have any idea how much work you are letting yourself in for?A "modern" GUI is the product of huge teams of people working over a period of years, to produce something that works on a single platform, possibly on a single OS on a single platform. Why do you think Windows does not...
5 Jul 2013 by smss IR
Hello everybody.In chapter 02 of "C++ GUI Programming with Qt4, 2nd edition" is an example which when I implemented, compiled and run it, give me an error about segmentation fault.I uploaded all the codes at : http://ubuntuone.com/1BwwCaFw9801KfL39I7cA6[^] (about 22 Kb)Thanks a lot of...
9 Jul 2013 by KarstenK
use the debugger to find the exact crash location. And than search for working sample code of that piece.
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...
3 Dec 2012 by deepak jha @ d.j
Que. for Windows forms And C#:- if anyone know ans. then replyi want to create an object which act like an space as excel or ms- word use it in equations, in windows form and this space looks like this [], and this is spread when the number or any character are inserted in...
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...
18 Nov 2014 by Sergey Alexandrovich Kryukov
This article can give you some very basic ideas: http://en.wikipedia.org/wiki/Drill_down[^].Indeed, we often face the choice between the desire to see more at once and available place. But not only. The user has limited ability to observe too much data. At the same time, a sense of...
27 Sep 2018 by Member 13999828
've used the Visual Studio project wizards to create some basic GUI apps with VC++. When debugging, I've noticed the native MFC code to be riddled with syntax such as this: derivedClass::Method() { baseClass::Method(); } For exmaple, I created a simple Windows app titled MFCApp. ...
27 Sep 2018 by KarstenK
This are the calls of the base class implementation of the methods. Dont ferget that these code is in the class instance code and not outside. In your link it is different sample code. Outside of the class and the second is a static function. Static means global unique, but in the name space of...
27 Sep 2018 by Member 13999828
Thanks for your reply. Then please tell me why the following does not work ? class base { public: virtual void OddFunction() const; }; class Derived: public base { public: virtual void OddFunction() const; }; Derived OddFunction() { base::OddFunction(); } int main() { Derived d; ...
23 Aug 2021 by Wendelius
This is not a coding service. If you're stuck in a specific problem when writing code there are a lot of people willing to help you but no-one will do all the work for you. Try breaking the problem into little pieces. Explore examples, search...
23 Aug 2021 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
23 Aug 2021 by Richard MacCutchan
How about you make the effort to do your own work. Lots of help can be found at Java Tutorials Learning Paths[^]
18 Oct 2020 by Sakshi Nikam
Q1. Grade Processing System University grading system maintains a database called “GradeProcessing” that contains number of tables to store, retrieve and manipulate student marks. ‘Java2’ is one of the tables which contains following attributes...