C++ Tutorial: Perform Button Actions (button action trigger) | How to Create a Form in C++ (Win32API

  Рет қаралды 75,517

Nick Frostbutter

Nick Frostbutter

Күн бұрын

Пікірлер: 53
@AlanDryaev
@AlanDryaev 3 жыл бұрын
perfect video, works perfectly. gained a subscriber!
@日本語大好き
@日本語大好き 3 жыл бұрын
Thanks you so much it's helping me alot
@RsRevengedAce
@RsRevengedAce 13 жыл бұрын
thanks man love your guides help me so much and i solved my previous problem
@Kamakwazee22
@Kamakwazee22 12 жыл бұрын
It is perfectly ok. You just have to make sure you create the correct type of project.
@hikkenwayans
@hikkenwayans 8 жыл бұрын
EXCELLENT tutorial!!!
@wuffles7974
@wuffles7974 4 жыл бұрын
wow, thanks to that, that fix my biggest problem!
@simonwhite4223
@simonwhite4223 12 жыл бұрын
thx man your tutorials are great and very discscriptiv, keep it up
@BobTitkemeier
@BobTitkemeier 7 жыл бұрын
Thanks bro! quick and dirty thats how i like it
@60namrruC
@60namrruC 12 жыл бұрын
When you put in another button, before the "break;" command, you'll need to set-up for the same parameters starting from, and copying "CreateWindow". There is no need to add in an additional " case WM_CREATE:{ ". You just need to simply add in the following parameters before the "break;" and after the NULL); of course changing the values to your needs. CreateWindow(TEXT("BUTTON"), TEXT("button"), WM_CHILD | WM_VISIBLE, 10, 10, 80, 20, hwnd, (HMENU) ID_BUTTON, NULL, NULL); Hope this helps!
@しいくる-s8h
@しいくる-s8h 4 жыл бұрын
Thank you so much! :D
@DayOfLuna
@DayOfLuna 8 жыл бұрын
simple and understanding easy. thanks
@georgeraftopoulos3476
@georgeraftopoulos3476 3 жыл бұрын
Nice and helpful tutorial men, but i have a question. My programme can't find CreateWindow so what library do I have to include????
@NootNooter
@NootNooter Жыл бұрын
#include Also take a look at the Microsoft Docs for the Win32 API
@vkizzuofc6555
@vkizzuofc6555 3 жыл бұрын
thanks you so muchhh
@neagucostel1134
@neagucostel1134 12 жыл бұрын
Please,men.You must make a tutorial about how to make a new program interface in DEVC++.You are the best.Comgrulations
@dijatech
@dijatech 3 жыл бұрын
You have to add all components means list viewer 0assword generator in win32.
@JHKNoAKA
@JHKNoAKA 3 жыл бұрын
How to get the button to display a text like cout within the program window and collect input like cin afterward?
@basiladeeb
@basiladeeb 10 жыл бұрын
I hope you are well, Nick. Will you be able to create the window template from scratch? I am just curious. The code is just too complex for me to memorize.
@skweep7207
@skweep7207 7 жыл бұрын
There's no need to do all that from scratch, there's a reason it has a template for you.
@cesariushervelazco8
@cesariushervelazco8 3 жыл бұрын
Excellent tutorial. I'm having some issues assigning actions to some buttons What I'm trying to do is put my window (executable) in a folder with a bunch of other files, and open a specific file when clicking a specific button.
@NootNooter
@NootNooter Жыл бұрын
Take a look at the CreateProcess function. You could pair it with a listview, filling that with the directory's contents, and then use the path to feed the CreateProcess
@dijatech
@dijatech 3 жыл бұрын
You have to make progress bar in win32 in c++.These little things anyone can make.
@wrthndr69
@wrthndr69 12 жыл бұрын
I'm trying to get the textbox's text into a char array can you make a tutorial or help on that
@RsRevengedAce
@RsRevengedAce 13 жыл бұрын
hey im trying to have a button and a text box at the same time but the text box is visible and the button isnt and when i compile it, i have no errors please help im trying to have them both at the same script
@matovmartin
@matovmartin 6 жыл бұрын
thanks man! :)
@MinecraftiansWeekly
@MinecraftiansWeekly 12 жыл бұрын
you'll probably want to use a string instead of a char array. You'll have to include iostream and include string at the very top for this to work though.
@triptipahuja9332
@triptipahuja9332 4 жыл бұрын
Can i print the value of a variable on clicking the button Please reply
@SafeAndEffectiveTheySaid
@SafeAndEffectiveTheySaid 12 жыл бұрын
My C++ program doesn't have the menu win 32 as yours, where can I find it?
@chandraprakashsingh...9282
@chandraprakashsingh...9282 5 жыл бұрын
Can we use the same code in turbo c++ ide
@lolomaizter
@lolomaizter 12 жыл бұрын
very interesting tutorial, just one cuestion i want to caption video how can i do it
@killer7495
@killer7495 4 жыл бұрын
#define ID_BUTTON 1 switch (message) { case WM_CREATE: CreateWindow(TEXT("BUTTON"),TEXT("CLICK"),WS_VISIBLE | WS_CHILD, x, y, width, height,hwnd, (HMENU) ID_BUTTON, NULL, NULL); case WM_COMMAND: if (LOWORD(wParam) == ID_BUTTON) MessageBox(hwnd, "Button is Clicked", "Messagebox Title", MB_ICONINFORMATION); break; }
@bblamaofficial
@bblamaofficial Жыл бұрын
hello i am trouble in CreateWindow is an error ho w can i solve it
@Timzy921
@Timzy921 13 жыл бұрын
Yay another tutorial. =D
@qayxeerllthenine-th3668
@qayxeerllthenine-th3668 8 жыл бұрын
Hey please answer, how bout button to go to next scene/windows instead of popup like that?
@spongybottomworld
@spongybottomworld 12 жыл бұрын
Hello , i still get an error on the CreateWindow line...i am using dev-C++
@Burh.2k
@Burh.2k 2 жыл бұрын
How to call this in main function??
@supersized22
@supersized22 11 жыл бұрын
How do you add images to a c++ program? can you use the CreateWindow function?
@qayxeerllthenine-th3668
@qayxeerllthenine-th3668 8 жыл бұрын
im guessing using graphics.h instead?
@yanaru17
@yanaru17 12 жыл бұрын
^^ i love you and thank you so much mwaahh :*
@EBGains
@EBGains 12 жыл бұрын
I keep getting this error message C:\Users\Erik Bush\Documents\All Projects\main.cpp In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)':
@yeshuaisraeli
@yeshuaisraeli 13 жыл бұрын
your voice is cool
@heriblandt
@heriblandt 11 жыл бұрын
I tried to write the code and it looks like it is correct however my anti virus program won't allow me to compile and run the code. why??????????? Help please
@matteoboniotti350
@matteoboniotti350 7 жыл бұрын
how to not create the dos windws when I compile it?
@sniped101
@sniped101 13 жыл бұрын
@RsRevengedAce put a break in your code. I had that same issue.
@toadvices1502
@toadvices1502 8 ай бұрын
Hello, please would you share the project source code, regards
@layup7734
@layup7734 3 жыл бұрын
5:25
@neweragames2318
@neweragames2318 2 жыл бұрын
cout
@matthewbercik9859
@matthewbercik9859 12 жыл бұрын
It wont let me because it keeps saying i did something wrong with the CreateWindow(TEXT("BUTTON"), TEXT("button"),
@mohanaganesh4820
@mohanaganesh4820 6 жыл бұрын
will this work in .cpp program instead of project? since i almost completed my game in .cpp file
@knight2792
@knight2792 4 жыл бұрын
java is easier
@asbjrnandersen8595
@asbjrnandersen8595 9 жыл бұрын
k how do you do that with 2 buttons, it gives me an erorr and says you cannot dublicate cases even tho i change the ids
@skweep7207
@skweep7207 7 жыл бұрын
Put them is different switch scopes like so: switch (Message) { }
@stewartzayat7526
@stewartzayat7526 7 жыл бұрын
Skweep don't, learn to program in general first.
MAKE A PROPER MENU WITH IMGUI
20:17
cazz
Рет қаралды 251 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Windows.h C++ Tutorial 4: Preforming Button Actions
9:02
Ryan Shanks
Рет қаралды 34 М.
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 875 М.
Let's make 16 games in C++: Outrun (Pseudo 3d racing)
3:29
FamTrinli
Рет қаралды 1,6 МЛН
How To Find Offsets, Entity Addresses & Pointers
22:46
Guided Hacking
Рет қаралды 343 М.
Creating a Window using C++ and Win32 | Tutorial
23:10
Aerideus
Рет қаралды 98 М.
Learning C++ by making a Game... in 1 Week?!
10:14
Floky
Рет қаралды 648 М.
Let's make 16 games in C++: TETRIS
4:06
FamTrinli
Рет қаралды 3,9 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН