RE: Problems with creating a hitch into chat Carl Tyler 7.Aug.12 08:41 AM Lotus Notes Sametime Standard All ReleasesAll Platforms
You said earlier you aren't using DOJO widgets is that not the case any more? If you're not using the dojo widgets then you're building your own UI so showing a new window or not is up to you.
I'm going to assume you are actually still using the dojo widgets, in which case to have the chat embedded on a page and not appear in a separate window take alook at the example on page 65 of the STProxy documentation in the SDK that shows how you to override the chat window creation and put it into a dojo tab container. Personally I never had any luck using the dojo tab container, so I ended up using a different 3rd party tab control.
If you find you have the chat embedded on the page, and incoming chat still pops up in a new window, then you have to make sure you specified your chat partners full canonical name, otherwise that will happen, if you just used a name that resolved like their email address or something.