Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

My program call my program

Posted on 1999-01-25
1
Medium Priority
?
173 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
[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
1 Comment
 

Accepted Solution

by:
casaprog earned 40 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

722 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