Dear,
Well just try to consider the autocomplete window that appears while ur
writing urls in the IE address textbox , well i m trying to compose a
functionality similar to this one.
1- so when ever a user writes anything in a textbox , a borderless window
just appears beneath the textbox and on top of the current form .
2- unfortunately showing a form will cause it to get the focus.
3- so the focus is moved towards the new borderless window.
4- now for some reasons i need to get the focus back to my textbox that the
user was editing.
5- at this point the main form now has the focus (and the textbox too), and
the borderless window is on the top but it doesnt have the focus! (so it
doesn't recieve the mouse events )
Sorry for not being able to cut a piece of code.
Latief
> Latief,
>
[quoted text clipped - 24 lines]
> > so how could we make the window capture different mouse events without
> > having to get the focus ! .
Stoitcho Goutsev (100) - 17 Jul 2006 14:37 GMT
Latief,
Have you implemented 1-4 already?
Are you sure about 5? As I said mouse events and the focus are not related.
Borderless form has to recive mouse events, but the main window (with the
edit box) won't reveive them for the area covered by the borderless form.

Signature
Stoitcho Goutsev (100)
> Dear,
>
[quoted text clipped - 53 lines]
>> > so how could we make the window capture different mouse events without
>> > having to get the focus ! .