PDA

View Full Version : embed existing program into AMS


yss
12-13-2004, 06:16 AM
Hi,

I have a small calender app that I would like to embed into an ams window so it would appear as a part of the ams program. is this possible in any way? :huh

Thanks

Brett
12-13-2004, 09:12 AM
Is the app OLE embeddable? If so, you could possiblly embed it into a Web object. If not then, no, there is no way to accomplish that task that I know of. We do have a calendar plugin available if that helps.

Worm
12-13-2004, 09:19 AM
I've played with this idea too. I've been able to "embed" an app by using SetParent. The issue comes if refreshing the windows. It simply gets ugly. lus you need to be sure to kill any enbedded app when your app closed.

yss
12-13-2004, 10:32 AM
It is an honor to have you two reply to my question.
A question though, what is “SetParent” – I searched through the help file but did not find anything.

Thanks

Worm
12-13-2004, 10:36 AM
It is a function in the User32.DLL that sets a window as the parent of another.

http://www.mentalis.org/apilist/SetParent.shtml


Here's a link to a sample app I did using it.
http://www.indigorose.com/forums/showpost.php?p=31964&postcount=4

yss
12-14-2004, 09:22 PM
:D
I'll look in to it, if I'll find something new i'll let you know...

Thanks again ;)