Hi,
MDIChild pops up a listbox on a certain event.
The problem is that the location of the listbox can go out of the
MDIChild bounds.
When this happens, I see only a part of the listbox.
1. Is there a way of setting the listbox a top level control without
putting it on a form?
2. Just n case I do need to put it on a form, I would like to hide it
if the MDIChild loses focus. The problem now is that for some reason
'LostFocus' and 'Deactivate' are not fired!
(The same with MdiParent.LostFocus and MdiParent.Deactivate). So in
case I maximize a different application, the top level form is still
there! How do I hide it then?
Thanks,
Udi.
|