Windows GUI Programming with C/C++ ( Win32 API ) | Part -4 | Button Control and Demo Application

preview_player
Показать описание
4th**

Win32 API ( Windows GUI ) Programming with C++/C.

--Part 4--
Button Control.
Creating a sample application with the concepts covered so far.

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

This is probably the best tutorial to get started on GUI programming with winAPI 32, I really appreciate you for doing this, thanks man ♥

EphraimAC
Автор

I know how you feel that stuttering when teaching. You did a great job and that helps me a lot. I appreciate all of your works, keep it on

zookaroo
Автор

The most comprehensive guide I've found so far. Thanks so much man, appreciate it.

vros
Автор

youre a great teacher, you explain everything well unlike microsoft. thank you!

irons_knifes
Автор

Just a side note about all the strcat usage, your can format your strings very easy with sprintf. It works just like printf but takes a destination char* as it's first argument. It's strcat on steroids. Nice to see someone still teaching Win32 API. Most of my stuff that I write on windows 10 runs fine on windows 95, and with very little mods will run on windows 3.1 after compiling to 16 bit. C#, Java, Python and all that other slow garbage can rarely run on other machines without having the user download runtime engines and fat DLLs.

Brock-Landers
Автор

still the best tutorial out there to date

ifeellovevenus
Автор

this tutorial and previous ones finally taught me about controls

rashaadahmad
Автор

Your are the best about windows.h tutorials in youtube

Agent-hhts
Автор

Funny got what I was searching for years thankyou very much

nedstark
Автор

Incredible series, thanks so much for making this <3

waterhot
Автор

I am going to live in this channel for some time. Excellent tutorial, you are VERY good at teaching!

imemyself
Автор

For those who has a problem with a char:

case GENERATE_BUTTON:
char name[30], age[10], out[50];
GetWindowTextA(hName, name, 30);
GetWindowTextA(hAge, age, 10);

strcpy_s(out, name);
strcat_s(out, " is ");
SetWindowTextA(hOut, out);
strcat_s(out, age);
strcat_s(out, " years old.");
SetWindowTextA(hOut, out);

break;

damagedintellect
Автор

I am very grateful for this. Thank you very much for such helpful information. Please keep posting. You won my subscription

AluwaniRalineba
Автор

Thank you so much for these tutorials, I just watched all 4 of them today. I am working on a summer research project and none of us know how to develop for windows, but your videos have been very helpful. When do you plan on releasing the next one?

ShadowWolfM
Автор

Very good tutorial! Thank you very much!!

gorgar
Автор

If you are getting in GENERTE_BUTTON case, (int GetWindowTextW(HWND, LPWSTR, int)': cannot convert argument 2 from 'char [20]' to 'LPWSTR' or simmilar to this) change GetWindowText to GetWindowTextA

rokasb
Автор

Mate can you help me with one thing?
I have a Direct2D Render Target rendering on my Win32 Application. How can I overlay a Text Box or Edit Control on top of the Render Target?

KaustavMajumder
Автор

I face a problem in edit control when I type any character it doesn't show in edit window box

Chanchal_Singla
Автор

excellent tutorial series so far


problem at 20:14


I'm having an error where the successful build does not generate the text in the box below.


I get errors that say the strcpy and strcat functions are unsafe, and they recommend using the postfix "_s". but it makes no difference, and when I remove the postfix, I get error C4996 for those four functions.



any recommended fixes?

williamweidner
Автор

14:01 just to know that these are called macros, not constants
before compilation, the program replaces marcos with the defined text

kryptoid
welcome to shbcf.ru