Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6092677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:28:16+00:00 2026-05-23T12:28:16+00:00

How can i make buttons in c++ and handle them. I am targeting win32.

  • 0

How can i make buttons in c++ and handle them.
I am targeting win32.
Till now i have no idea of how to make graphical programs in c++ . I have come from JAVA and therefore have no idea of handling c++ events and building GUI

It will be of great help if you give the links to tutorials or could name the books to do so.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:28:17+00:00Added an answer on May 23, 2026 at 12:28 pm

    C++ is merely a language and the framework and operating system services whcih enables you to make use of the services using C++.

    Java contains a GUI framework which has implemented across the platform. When you come to a native windows application, you have to rely on mainly two things, Win32 and MFC(a C++ wrapper of Win32 APIs). Win32 provides C based APIs which expose the operating system services.

    For your specific questions I can answre like, You can use CreateWindow() Win32 API or CButton::Create() (MFC) to create a button. Also Visual studio provide a really good resource editor where you can manage the controls and make the message handlers.

    The APIs are largely classified in to three DLLs

    • GDI32.dll – provides APIs for drawing
    • User32.dll – provides APIs to creates buttons windows etc.
    • Kernel32.dll – provides APIs to use operating system services like file creation, threading, synchronization etc.

    As a Java programmer, it would be easy to adopt C# rather than C++. For you C++ might be going back to stone age where you’ve to hit the stones and make the fire, where in C# you can enjoy the easiness of a matchbox.

    I’d suggest you to read following books to learn basic GUI programming under Windows

    • Windows Via C++ – (Win32)
    • Programming Windows with MFC – Jeff Prosise
    • Programming Windows – Charles Petzold
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make an application where the users can click on the buttons
I'm having trouble trying to manipulate music using buttons I can't seem to make
Please how can i make the submit button and reset button have a different
I can make a variable's name from two variables' value: $a = 'tea'; $b
In HTML forms, buttons can be disabled by defining the disabled attribute on them,
Anyone know how I can make a login button in Ruby on Rails for
Is there any button or shortcut that can make publish job instead of clicking
So I wanted to create a toggle-button for a table, where I can make
I can make my program write a .dat file with an array of Node
How can make a link within a facebox window that redirects it to another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.