supa-nova Posted May 8, 2004 Share Posted May 8, 2004 Hi, im new to C++ and need a bit of help.i want to make a program that open's a neweach time you tell it to. For example...#include <iostream.h>#include <stdlib.h>int main(void){ int A=0; if (A==1) "Open window"; <-------------------------------+ system("PAUSE"); return 0; } What code do i put in the "Open window" space? --+Thanks. Link to comment Share on other sites More sharing options...
Datalore Posted May 8, 2004 Share Posted May 8, 2004 What kind of window are you trying to open? An internet explorer window? A Windows explorer window? A new program window? Please elaborate. Link to comment Share on other sites More sharing options...
supa-nova Posted May 8, 2004 Author Share Posted May 8, 2004 Im trying to open a Windows Explorer type of window, I want the program to make it itself. For example...A score board for a game every time you score it opens a window saying "SCORE!"I only need the "make new window" code, from there ill be fine.Thanks for your help. Link to comment Share on other sites More sharing options...
Dany67 Posted May 21, 2004 Share Posted May 21, 2004 is it the MessageBox(...) function that you're searching? Link to comment Share on other sites More sharing options...
supa-nova Posted May 25, 2004 Author Share Posted May 25, 2004 Im trying to open a window/message box like notepad, somthing small with no options just a message in the center. Link to comment Share on other sites More sharing options...
Doggie Posted May 25, 2004 Share Posted May 25, 2004 oh, you mean a new MDI window? Link to comment Share on other sites More sharing options...
supa-nova Posted May 25, 2004 Author Share Posted May 25, 2004 Yer a MDI window, whats the code for that? Thanks. Link to comment Share on other sites More sharing options...
Doggie Posted May 26, 2004 Share Posted May 26, 2004 i havent touched it in a long time.. but im pretty sure theres a wizard that makes MDI windows and looking at the code you be able to find out how to spawn a window .. if not *Finds his box* i'll install visual C++ and give u the answer Link to comment Share on other sites More sharing options...
supa-nova Posted May 29, 2004 Author Share Posted May 29, 2004 I Cant find the code anywhere Please can you find out for me Thanks M8. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now