Solved

My program call my program

Posted on 1999-01-25
1
166 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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

771 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

14 Experts available now in Live!

Get 1:1 Help Now