Hi Gavin,
If you have a reference to your message object in loMessage, then the following should do what you need:
loInspector = loMessage.GetInspector
loInspector.ACTIVATE()
Cheers,
Andrew
>Hi All,
>
> I have a VFP6.0 application which creates and displays and OutLook Email Message. What I need is for the Email to become the current window. Is there a way to bring the Email Window to the front? I imagine it's a case of obtaining the handle of the Email Window and using some API function to bring it to the front, I'm just not sure how to do it though.
>
>Thanks,
>Gavin...
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.