• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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

I would like to know how I can have only one window for an application even if I excute the application many times.
0
m3
Asked:
m3
1 Solution
 
nietodCommented:
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
 
m3Author Commented:
The first one doesn't work, I'll try the other ones later.
Thanks.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now