From:  Neil <neil@parkwaycc.co.uk>
Date:  03 Dec 2004 01:34:23 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.editor
Subject:  

Re: listening to key events and resize event for DIV element

NNTP-Posting-Host:  parkwaycs-218.adsl.newnet.co.uk

harvinder wrote:

>noteTarget->AddEventListener(NS_LITERAL_STRING("resize"), this, PR_TRUE);
>
>noteTarget->AddEventListener(NS_LITERAL_STRING("resize"), this, PR_TRUE);
>  
>
Only documents get resize events. And you'll only see keypress events if 
the element or one of its children has the focus.

-- 
Warning: May contain traces of nuts.