Could it be possible that you just have to add "DocumentWindow.show"
before you use SetFocus?
Maybe the floating window is brought to the front and was not in
earlier versions?
Le 30 mai 07 à 17:37 Soir, Pere Orra a écrit:
> Since 2007r2 I have problems with KeyDown events on a document window.
>
> I have a document window witch responds to KeyDown events normally,
> and a floating window with a listbox, if the user clicks on the list
> box its GotFocus event returns the focus to the main document window
> (Window.SetFocus), until 2007r1 this worked normally and the main
> window receives again KeyDowns, with 2007r2 there is no easy way to
> programatically return the KeyDown events to the document window.
>
> I've found that if you manually drag the window KeyDown events are
> again sent to the document window.
>
> I've already posted a report on the feedback system if anybody wants
> to sign it:
>
> http://www.realsoftware.com/feedback/viewreport.php?reportid=setzfexc
>
> I've also included a test project:
>
> http://www.realsoftware.com/feedback/download.php?file=8361&rid=23408
>
>
> Also if anybody has a easy workarround please let me know.
>
> Thanks
>
> Pere Orra
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|