supa-nova Posted May 8, 2004 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.
Datalore Posted May 8, 2004 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.
supa-nova Posted May 8, 2004 Author 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.
Dany67 Posted May 21, 2004 Posted May 21, 2004 is it the MessageBox(...) function that you're searching?
supa-nova Posted May 25, 2004 Author 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.
supa-nova Posted May 25, 2004 Author Posted May 25, 2004 Yer a MDI window, whats the code for that? Thanks.
Doggie Posted May 26, 2004 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
supa-nova Posted May 29, 2004 Author Posted May 29, 2004 I Cant find the code anywhere Please can you find out for me Thanks M8.
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