Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where did the call come from? 1

Status
Not open for further replies.

Gazzza

Programmer
Dec 21, 2000
16
AU
I have two applications one is a financial app the other is a drawing app both have pretty good OLE librarys. What I can do is open the drawing app from the financial app or I can open the drawing app from the desktop as normal. Is it possible to tell where the call came from either the desktop or the financial app. I only want the drawing app to be opened if it came from the financial app. Is this possible using perhaps a parameter or API call to achieve this. Is this possible?

Thanks
Garry
 
I'm a bit shaky on hte details, but you should be able to get the handle to the window, and then trace it's "ancenstry" all the way to the O.S. - if the Financila app is not in the list - then it obviously wasn't where the app was called?


MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top