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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Olecontainer + hotkey

Status
Not open for further replies.

Ronnie2005

Programmer
Dec 8, 2005
1
ES
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top