Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Pop-up questions on new documents

Posted on 1998-11-02
2
Medium Priority
?
157 Views
Last Modified: 2013-11-28
How can I have a window pop up on a new document to ask, for example, for player names.  I have a game and want to be able to have a pop-up window saying "Enter Player 1's Name" with a box below or beside it and a window saying "Enter Player 2's Name" with a box below or beside it for input and then have the input names be stored into strings for later output onto the screen.
0
Comment
Question by:Mephisto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:Bridge
ID: 1324161
Look into creating a DialogBox and displaying it using DoModal(). There is plenty in the help. Once youve done this perform the do modal in the documents OnNewDocument() function.
0
 
LVL 1

Accepted Solution

by:
TheGrinch earned 100 total points
ID: 1324162
In the constructor of your document class, execute a modal dialog which accepts input of player names, etc., and stores the data in strings which are data members of the document. This data will then be available as needed.

I assume you are familiar with building and executing a dialog.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
Learn about the eCommerce marketing trends for the year ahead.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question