Solved

My program call my program

Posted on 1999-01-25
1
168 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

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

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…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

786 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