Ronnie2005
Programmer
Hi there. First of all, excuse me for my English. It isn’t very good by now. This is my actual problem: I’ve got a MDI application whose childforms content an OleContainer component that links with Word. The childforms create another forms with different data. These forms must be opened depending on the activated Olecontainer when I press a key (for example, the space bar), but this only works when there’s no Word document opened. In this last case, the Word application gets the focus and my application doesn’t get the keypress event. I’ve tried whit a 3rd part component (HotkeyManager) and, however the Word application can read the pressed key, always shows the same form, and I want to open the form created by the childform owner of the Olecontainer activated instead. How can I do that?