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
Solved

Pop-up questions on new documents

Posted on 1998-11-02
2
151 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
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 50 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
fizzArray2 challenge 1 88
Line meaning 9 87
mapAB Challlenge 35 155
what is the best open source database solution? 3 39
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

789 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