?
Solved

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

Posted on 1998-08-07
3
Medium Priority
?
174 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
[X]
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
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 60 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
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.

801 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