Hi all,
I am coding a custom control which is basically a Textfield and a Listbox which pop's up when the user keys in Text in the Textfield. I use a containercontrol where I adjust the size when the Listbox has to pop up. That's all working fine.
Problem starts when the popup Listbox is overlapping an other control. I want a similar behaviour like the original ComboBox. Only when I set the Z-Order of my control to 'Front' it stays on top of all overlapping controls.
But how about when two of my controls overlapp each other?
I know, Z-Order can not be changed in code. When I use a window to show the popup Listbox, that solves the overlapping problem, but then main window becomes disabled.
Any Suggestions how to solve that problem?
thank's hpstocker
|