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 6235423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:39:56+00:00 2026-05-24T10:39:56+00:00

I now want to create a menu for the game project am working on..

  • 0

I now want to create a menu for the game project am working on.. But the project already have a WinMain class..

So is there any way i can create a new cpp file and in the current WinMain call the window i made in the other cpp file?
And if a button was pressed i want to close the window and open the other one.

So basicaly here i want to replace the WinMain i have right now and in the WinMain call a window that i made in another file.. Is this possible or is there another better way to do it?

  • 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-24T10:39:56+00:00Added an answer on May 24, 2026 at 10:39 am

    You might need to create a menu application which processes options/settings, user’s choices etc before the user presses the Start button to bring up your game application. They stay separated as two entities.
    If your current game GUI doesn’t have a menu, you can certainly create one such as context (popup) menu, menu bar, etc, which can be stored inside the game cpp file via message map processing.
    if these doesn’t give you any hint then you may rephrase

    So is there any way i can create a new cpp file and in the current
    WinMain call the window i made in the other cpp file? And if a button
    was pressed i want to close the window and open the other one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have create my own NSOpenGLView class, right now the data that i want
I can create an Option Menu for a single Activity. But now I want
i want create image animation , i have 50 images with png format now
Let's say I have created two objects from class foo and now want to
I want to create a Dropdown menu where I have 3 level, I have
Ok, Now I want to add a menu in the safari menubar. I Create
I have create the list-activity.Now I want to add new view with with map
I want to create a tool tip for an image with a link now
I want to create a remote webservice for an application that is now avaliable
I want to create an SQL script that creates a database. Right now, I

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.