Solved

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

Posted on 1998-08-07
3
169 Views
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.
0
Comment
Question by:m3
3 Comments
 
LVL 22

Expert Comment

by:nietod
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.
0
 
LVL 23

Accepted Solution

by:
chensu earned 30 total points
ID: 1169706
0
 

Author Comment

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

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue accessing member variable of atomic class 16 115
Writing a parser for java language 4 78
FMX enumerated colours 2 98
GUI: DIalog Stacking and Popping in MS C++ 4 74
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now