Making Simple GUI Window in C on Windows

preview_player
Показать описание
In this video I will demonstrate how you can create a simple graphical window on Windows using the C Programming Language and Win32 API

Code:
Рекомендации по теме
Комментарии
Автор

I’ve never written more then simple c, c++ programs. I never did anything he does here, but its fun watching it and understanding a bit how some stuff works under the hood

the-joe-biden
Автор

Love these minimalistic approach videos. Interestingly I just today finally got to make a C++ wrapper class for Win32 after struggling to get it to work. I plan to make a framework that can be used for game development. There are so many bits and bobs that needs to come to getter in order for to make a game.

KimTiger
Автор

Still watching the video, but i find the pure Win32 API in C or C++ (or even Rust) the nicest way to make a GUI.
Better learn Win32 with it's related complexities, than those complex frameworks: small binaries, fast, and still practical.

Humble_Electronic_Musician
Автор

Love the teaching style. Straight to the point, clear and also teach how to read docs along with it.

publicstaticvoidmainstringargs
Автор

This is becoming one of my favorite channels

cellularmitosis
Автор

can you use vscode to make it more readable idk what that code editor is but its hard to read

HyperDevv
Автор

Very impressive. Details like these get buried under tons of abstraction layers

shahidkhan
Автор

I'm wondering why you didn't use the BeginPaint() and EndPaint() functions in your paint handler.

davidfrischknecht
Автор

there's a really good tutorial I always go back to called "Welcome to theForger's Win32 API Tutorial"

firstname
Автор

After your X11 video, i was thinking the same for making in Windows ;D. Btw i never thought to use wrapping, u changed my mind. It's good for coding while tiling (prevent multiple w, e and b pressing for nothing)

rafaeloledo
Автор

Would like to see more hardware driver examples, like creating your own serial driver for Windows.

GuildOfCalamity
Автор

thanks a lot for this resourceful video, I'd love to see some basic DirectX as well <3

ahmadmohsen
Автор

You can still create a window from the main function. In fact I find winmain confusing, because all the functionality can still be achieved with just the right calls, and can be more portable, separating the platform from the language

santitabnavascues
Автор

very interesting videos . Are you familar with modifying the code of existing Windows EXEs ? I was just recently asked by freind of mine to make some software for a PC game however most of knowledge of of that sort of stuff is for non PC stuff. I am familar enough with GCC + GNU Linkers + GDB thanks to some of my other projects but when it comes to actually getting my compiled + linked code to the EXE yup Im stumped ... (partly blame Microsoft)

Kuumba
Автор

Content: Great
Narration: Great
Documentation Source: Great (no man plz hahahah)
Editor: I have an idea for a 50k subs video, use code! Hahahaha

Just kidding man, great content, keep going!

yargonslavter
Автор

hey man, what window manager are u you using?

untaggedbeatz
Автор

I was wondering, can you use pure windows api to create style like in web apps or do u need opengl or directx?

shahidkhan
Автор

What editor are you using here? Sorry, you've probably answered this a million times in other videos

Dan-kmzy
Автор

Please share info on the tools you used.

jatodd
Автор

Good Video. Using WinAPI can you do tutorial for program which gets arguments for main from commandline and parses it(I think it involves creating process and copying argument values to process-s environment variables)? thanks

AKA-