topmost topmost window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EvilProject
    New Member
    • Nov 2007
    • 16

    #1

    topmost topmost window

    Hi, I wrote a custom drop down control host(unrelated to toolstrip) that enables me to take a control and make insert it in a drop down window.
    I implement this control host by creating a topmost form which contains the control.
    the control works perfectly exept one thing.
    when i try to make a drop down control that containes another drop down control,
    the z order of the forms changes every time the focus changes. this causes the drop down that should be on the top of the z order not to be there.

    basically what im looking for is an easy way to maintain one form on the top of the other where both of them are top most.

    thanks in advance.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Is this a web or windows application?
    I've never been able to set the z-order for windows forms (never tried real hard either)

    But I would think that for a web app that for every control in your custom drop down, it's z-order is set to one "higher" then it's parent, dynamically.
    I suppose that could work for a windows application too.

    Comment

    Working...