Solved

My program call my program

Posted on 1999-01-25
1
167 Views
Last Modified: 2010-04-02
What is the difference between print banding and
   non-banding ? Which is the better ?
   What is the difference between programming in lazer printer and HP Deskjet (670C)printer ?
   How can I return the program after I sent WM_CLOSE to it( that means I want to close my program and after that it can
call itself again), like this :
    My program include 2 modun A and B. At the beginning, A can run or call B. If A call B, B is ruuning and when B finished it auto close the program and call again to the beginning (A run) . User only can close program only they close A.
0
Comment
Question by:longlong
1 Comment
 

Accepted Solution

by:
casaprog earned 20 total points
ID: 1185130
If you don't close the program A when you call B, then when B is closed, A is still running, so you just have to set the focus to the main Window of A, but if you, for some reason, close A, then B must run A before it closes.

Best Regards,

Wenderson Teixeira

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

929 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

18 Experts available now in Live!

Get 1:1 Help Now