Implement GUI in C++ Step by Step | Create your First GUI project in C++ | VS 2017 Link is below

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 115

  • @rohit20233
    @rohit20233 ปีที่แล้ว +2

    Hi I am from india. thanks for the video , It was really usefull

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว +1

      I'm glad you found the video useful. You're very welcome! If you have any more questions or need further assistance, feel free to ask

  • @saifejaz140
    @saifejaz140 ปีที่แล้ว +2

    A.O.A Excellent Explanation sir, we want more videos like this thank you!

  • @K1LL3RH1GT3CH
    @K1LL3RH1GT3CH 2 ปีที่แล้ว +1

    Thanks you were the only one who managed to teach me how to solve this error when creating a Form in an empty CLR project, no other video I found puts this code in the form's .cpp file.
    Thank you so much for teaching

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Thank you so much for compliment.
      You are always Welcome.

  • @tarifhussain5946
    @tarifhussain5946 2 ปีที่แล้ว +2

    Very good khuram sir very very nice bro my best chanul

  • @ShahmeerKhan-tg5mj
    @ShahmeerKhan-tg5mj 7 วันที่ผ่านมา +1

    assalam u alykum what about if i use QT in gui implementation for semester project. plz guide me

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  7 วันที่ผ่านมา

      Wa alaikum assalam! Using Qt for your semester project to implement a GUI in C++ is an excellent choice. Qt is a powerful and flexible framework for building cross-platform applications, and it provides comprehensive tools for creating modern, feature-rich graphical user interfaces.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  7 วันที่ผ่านมา

      Please follow these links: doc.qt.io/ , doc.qt.io/qtdesignstudio/ and doc.qt.io/qt-5/topics-app-development.html

    • @ShahmeerKhan-tg5mj
      @ShahmeerKhan-tg5mj 7 วันที่ผ่านมา

      Sir thanks for your kind reply may Allah bless you

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  7 วันที่ผ่านมา

      You are welcome

  • @SyedHamza-q3e
    @SyedHamza-q3e 9 หลายเดือนก่อน +1

    Sir AP great hay hard work always pay

  • @user-yh8dg3wq6i
    @user-yh8dg3wq6i 9 หลายเดือนก่อน +1

    Visual Studio ko hua kya hai. Sirf ek form add karne ke liye itna jhamela aur error alag se. They must resolve these things.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  9 หลายเดือนก่อน

      Please let me know, which are you facing?

  • @सत्यम_शिवम्_सुंदरम
    @सत्यम_शिवम्_सुंदरम 2 ปีที่แล้ว +1

    Best video to get understand.. thankyou so much.. please one video on file read and create, write please

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Thank you so much for praise. Sure soon will do it.

  • @AmFahad10
    @AmFahad10 2 ปีที่แล้ว +2

    Sir Amazing Way To Teach beginners Excelent Way Sir Jo Apne Kaha tha ke ise database ke sath kese connect kare ge or ise pc pe as a application like vlc kese open kare wo bhi btaye ga plz

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      Thank you so much for your appreciation. Soon In Sha Allah

    • @AmFahad10
      @AmFahad10 2 ปีที่แล้ว

      @@ItsKhuramShahzad Waiting For Your Video On This Topic Thanks In Advance!

  • @shahjehanafridi9471
    @shahjehanafridi9471 ปีที่แล้ว +1

    Great job dear..

  • @mharis4443
    @mharis4443 ปีที่แล้ว +1

    sir how to go from one textbox to another by pressing enter

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว +1

      In Visual Studio C++, you can use the event handling mechanism to detect when the Enter key is pressed in a textbox and then move the focus to another textbox. Here's an example of how you can achieve this:
      1. Open your Visual Studio C++ project and go to the form designer.
      2. Drag and drop two textboxes onto your form. Let's call them `textBox1` and `textBox2`.
      3. Select `textBox1` and go to the Properties window. Locate the "Events" section and find the `KeyPress` event. Double-click on the empty field next to it to generate the event handler.
      4. Visual Studio will generate a function with the following signature:
      ```cpp
      private: System::Void textBox1_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e)
      ```
      5. Inside the `textBox1_KeyPress` event handler, add the following code:
      ```cpp
      if (e->KeyChar == (char)Keys::Enter)
      {
      textBox2->Focus();
      }
      ```
      This code checks if the key pressed is the Enter key (`Keys::Enter`), and if so, it sets the focus to `textBox2` using the `Focus` method.
      6. Repeat steps 3 to 5 for `textBox2`. In the `textBox2_KeyPress` event handler, you can set the focus to another textbox or perform any other desired action.
      Remember to save your changes and build your project before testing the functionality. Now, when you press Enter while typing in `textBox1`, the focus will automatically move to `textBox2`.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว +1

      Second by using Tab:
      In Visual Studio C++, you can use the TabIndex property of textboxes to control the tab order between them. Here's how you can set up the tab order to move from one textbox to another by pressing the Tab key:
      Open your Visual Studio C++ project and go to the form designer.
      Drag and drop two textboxes onto your form. Let's call them textBox1 and textBox2.
      Select textBox1 and locate the "TabIndex" property in the Properties window. Set its value to 0 (or any other desired number).
      Select textBox2 and set its TabIndex property to a higher value than textBox1. For example, set it to 1.
      By setting different TabIndex values, you define the order in which the textboxes receive focus when the Tab key is pressed. The control with the lowest TabIndex value will receive focus first.
      Repeat the above step for any additional textboxes you want to include in the tab order.
      Make sure to assign unique TabIndex values to each textbox, ensuring that no two textboxes have the same value.
      Build and run your project. Now, when you press the Tab key while typing in textBox1, the focus will automatically move to textBox2 based on their TabIndex values. Pressing Tab again will cycle through the remaining textboxes in the defined order.
      By setting the TabIndex property correctly for each control, you can easily control the tab order in your Visual Studio C++ application.

    • @mharis4443
      @mharis4443 ปีที่แล้ว +1

      @@ItsKhuramShahzad Thank u Sir really helped a lot

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว

      Most Welcome

  • @muhammadyousaf11
    @muhammadyousaf11 2 ปีที่แล้ว +1

    Great job sir khurram! Keep it up 👍

  • @AmFahad10
    @AmFahad10 2 ปีที่แล้ว +1

    Sir One More Question Hum is code or ui ko actual software me kese decode kare like application jisme backend ka code end ho jaye or jese hi hum application or icon of application pe click kare ye execute ho jaye ?(Me Nai Chahta ke me bar bar vs me ja ke build karke ise run karo again and again)

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      Follow this video for exe creation: th-cam.com/video/BJsX7nocNME/w-d-xo.html

    • @AmFahad10
      @AmFahad10 2 ปีที่แล้ว +1

      @@ItsKhuramShahzad Thx Sir G Kya Ap Gui Ki Sari Commands Pe Ik Video Bana De Ge Jis Se Jo Bhi Concept Dimag Me Aya Use Implement Karne Me Mushkil Na Ho?

  • @imranyounas4583
    @imranyounas4583 3 ปีที่แล้ว +2

    Thank u so much sir... It's help me alot

  • @zohaabbas8207
    @zohaabbas8207 2 ปีที่แล้ว +1

    Informative.. Thanks for sharing such an amazing video

  • @ijnokm7903
    @ijnokm7903 2 ปีที่แล้ว +1

    sir qt framework ke keya seen ha wo b to gui build krny ka lea use hota ha ?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      Yes. But I have use . NET framework to develop C++ GUI app.

  • @programmingwithlazy_boy
    @programmingwithlazy_boy 2 ปีที่แล้ว +1

    Sir ya if koi aur window ko Add karna ho to work kasy hoga kindly pata din.. Login wala kardia login my baad koi frame add karni ho?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Kindly watch the full video, we have already performed it, how to add a new frame.
      Project > New Form.

  • @sumitvishwakarma1075
    @sumitvishwakarma1075 2 ปีที่แล้ว +2

    sir can we make gui project in vscode??? pls reply

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Yes we can do it. But it will be tough or difficult to install alot of prebuilt Libraries and packages.

    • @sumitvishwakarma1075
      @sumitvishwakarma1075 2 ปีที่แล้ว +1

      @@ItsKhuramShahzad thnx for your precious reply😘😘 also one question can i use c++ builder to make a gui application

    • @sumitvishwakarma1075
      @sumitvishwakarma1075 2 ปีที่แล้ว +1

      I also downloaded your source code but it was splittled in parts like credentials.cpp bank.cpp and there header files which you didn't created how is this so??

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Download the complete project. Then it will be open completely

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      If you wana to develop GUI in c++. Visual Studio is best tool, if you have an issue in installation then let me know.

  • @slguchiha1201
    @slguchiha1201 ปีที่แล้ว +1

    AoA, sir can guide me how to show list of all contacts in contact management system in gui

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว

      Wa Salam. Where the contact are stored, in a list or in a Array. You can use the List or Datagridview for displaying the contacts.

  • @farooqrana940
    @farooqrana940 3 ปีที่แล้ว +1

    Dear sir ye nichy jo error ai hain wo a p ko show out krwani chiye thi kesy resolve ki hain
    Rebuild krny sy nahi ja rhi wo errors ab btaen kya kren

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  3 ปีที่แล้ว

      Just close the window form and then close the project and open it again.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  3 ปีที่แล้ว +1

      Just follow this video to resolve error
      th-cam.com/video/zK5sJs6rwBc/w-d-xo.html

  • @Syed-kr6hd
    @Syed-kr6hd ปีที่แล้ว +1

    Great explanation sir Love from India but I'm getting error @33:16 timeline '{':no matching token found. can you please let me know how to resolve it ? Thanks a lot.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว

      I'm sorry for not getting back to you sooner.
      Please look at the following answers hope it help you .
      learn.microsoft.com/en-us/answers/questions/312712/((-no-matching-toke-found-error-visual-studio
      stackoverflow.com/questions/67688801/dont-understand-why-i-have-problem-like-this-no-matching-token-found
      stackoverflow.com/questions/24152029/c-error-no-matching-function

  • @muhammad_talha
    @muhammad_talha ปีที่แล้ว +6

    Hi Air university walon 👋🤧

  • @mtc_atheer5727
    @mtc_atheer5727 2 ปีที่แล้ว +1

    Well done

  • @alishbahbashir8914
    @alishbahbashir8914 ปีที่แล้ว +1

    Salam sir...
    Thank u so much for sharing this...
    Sir I'm getting an error and I don't know how to resolve that...
    Whenever I insert any picture in my form it displays an error at that point and if I remove that picture then it successfully loads the form...
    Kindly tell how to remove this error...

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว

      Wa Salaam. Its pleasure for me..
      Make sure to select the file as image from "Resources" Options.
      If still not fix, please share the error screenshot and whole screen on this email. itskhuramshahzad@gmail.com, hope i will help through it.

  • @ashoo1212
    @ashoo1212 2 ปีที่แล้ว +1

    very very helpfull
    sir

  • @farooqrana940
    @farooqrana940 3 ปีที่แล้ว +1

    Dear meny 2019 install Kiya h in sub features sath or same to same wesy hi error resolve ki jesy ap NY ki

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  3 ปีที่แล้ว

      Just follow this video.
      th-cam.com/video/zK5sJs6rwBc/w-d-xo.html

  • @ShahmeerKhan-tg5mj
    @ShahmeerKhan-tg5mj 7 วันที่ผ่านมา

    Main QT seekh rjha hu aik hafty sy abhi pf ki teacher sy mashwara nhi kia but app mujhy bta dain ky main QT hi seekhta rhu ya phir clr py ajao plz guide bhaijan🙏🙏🙏

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  7 วันที่ผ่านมา

      If you've been learning Qt for a week and making progress, it's a good idea to continue since Qt is a powerful framework for cross-platform GUI applications in C++. However, if you prefer something simpler and specific to Windows, Windows Forms using C++ is also a great option.

  • @prathamsharma3330
    @prathamsharma3330 2 ปีที่แล้ว +1

    sir can you make a video on how to connect database in this project also

  • @ahsanulkarim3455
    @ahsanulkarim3455 2 ปีที่แล้ว

    Sir I want to make a desktop app about railway ticket reservation but dont know how to do it. Can you help me?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Yes, i can help you, sorry for late reply. Can you tell me your requirements.?

  • @hasnatawan
    @hasnatawan 2 ปีที่แล้ว +1

    MashAllah

  • @Ghent2007
    @Ghent2007 2 ปีที่แล้ว +1

    I like your videos!

  • @rfdave3980
    @rfdave3980 2 ปีที่แล้ว +1

    Audio is distorted.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      I will make sure that audio quality will be good

  • @zuhafarooq8194
    @zuhafarooq8194 2 ปีที่แล้ว +1

    Can we make gui app in dev c++?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Are you talking about Mobile app or Desktop app?

    • @zuhafarooq8194
      @zuhafarooq8194 2 ปีที่แล้ว

      @@ItsKhuramShahzad desktop app

    • @zuhafarooq8194
      @zuhafarooq8194 2 ปีที่แล้ว +1

      @@ItsKhuramShahzad like........ supermarket billing management into gui application

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Yes we can develop such app in c++.
      If you want any assistant, let me know.

  • @InspireVerse50
    @InspireVerse50 3 ปีที่แล้ว +1

    Hey sir please can you make one video to convert Infix to prefix expression in GUI with C++

  • @gaurabbhattacharya2391
    @gaurabbhattacharya2391 2 ปีที่แล้ว +1

    amazing content sir, sir does c++ has job opportunities?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      Yes C++ have Job opportunities.
      Some specs of C++:
      C++ is known as the general purpose programming language as an extension of C. It is used to develop operating systems, browsers, games, and many more. This programming language for developers is powerful and flexible to develop high-performance applications. It offers developers a high-level control over system resources and memory.

    • @gaurabbhattacharya2391
      @gaurabbhattacharya2391 2 ปีที่แล้ว +1

      @@ItsKhuramShahzad thank you sir how much of C++ is mandatory to get entertained in the industry ?

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      ​@@gaurabbhattacharya2391 If you are looking for C++ developer job then you need to be expert in C++ like {OOP concept, file handling, API request, GUI application in C++ etc....}
      else if you just have concept of OOP and file handling in C++ its enough.

  • @huzaifa_swati
    @huzaifa_swati ปีที่แล้ว +1

    Fastians everywhere

  • @Humastechchannel
    @Humastechchannel 2 ปีที่แล้ว

    Good Job!

  • @hassanalijatoi6521
    @hassanalijatoi6521 3 ปีที่แล้ว +1

    thank u sir :-)

  • @aibprince5298
    @aibprince5298 ปีที่แล้ว +1

    sir plz or vidio banow buhat halp hua

  • @shaykhawais
    @shaykhawais 2 ปีที่แล้ว +1

    Sir kindly upload C++ GUI Syntax

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว

      Dear i am sharing some usefull link. Hope this will help you.
      docs.microsoft.com/en-us/cpp/windows/walkthrough-creating-windows-desktop-applications-cpp?view=msvc-170
      www.daniweb.com/programming/software-development/threads/77173/c-gui-graphical-user-interface-for-beginners
      www.simplilearn.com/tutorials/cpp-tutorial/cpp-gui?source=sl_frs_nav_playlist_video_clicked

  • @farooqrana940
    @farooqrana940 3 ปีที่แล้ว +1

    But meri eror resolve nhi ho rhi to pease help me

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  3 ปีที่แล้ว

      Just follow this video to resolve error
      th-cam.com/video/zK5sJs6rwBc/w-d-xo.html

  • @Nutrition_Wellbeing
    @Nutrition_Wellbeing ปีที่แล้ว

    why is the heading English and the content Indian????????????/

  • @clearmuzik.5462
    @clearmuzik.5462 ปีที่แล้ว +1

    speak english man. no indi

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  ปีที่แล้ว

      Sure in comming videos. Thanks for feedback

  • @douhaaaed9738
    @douhaaaed9738 2 ปีที่แล้ว +1

    Please activate the translate button into Arabic.

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  2 ปีที่แล้ว +1

      OK I will try, Thank you for your Intrest

    • @user-u143
      @user-u143 2 ปีที่แล้ว

      th-cam.com/video/LVideiP-YyQ/w-d-xo.html
      This in Arabic language if you Don't understand what the professor said

  • @dvens1232
    @dvens1232 10 หลายเดือนก่อน

    ничего не понятно, но очень интересно

    • @ItsKhuramShahzad
      @ItsKhuramShahzad  10 หลายเดือนก่อน

      Спасибо за ваш комментарий! Рад, что даже несмотря на сложность, вам было интересно. Буду стараться делать контент более понятным в следующих видео. Надеюсь, вам понравятся будущие ролики тоже!

  • @muhammadumair486
    @muhammadumair486 2 ปีที่แล้ว

    Well done