VC++_No more than one window for an application.

Posted on 1998-08-07
Medium Priority
Last Modified: 2012-05-04
I would like to know how I can have only one window for an application even if I excute the application many times.
Question by:m3
LVL 22

Expert Comment

ID: 1169705
Are you sure that is what you want?  

Do you maybe mean that if the application is started a second time, it should detect the first application and should terminate so that there really is just one running at a time and  therefore one window.  That is easy to do.  You cn do that with FindWindow()  I can elaborate if that is what you want.
LVL 23

Accepted Solution

chensu earned 60 total points
ID: 1169706

Author Comment

ID: 1169707
The first one doesn't work, I'll try the other ones later.


Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

600 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